Job topology FAQ

更新时间:
复制 MD 格式

Incorrect child node job type

Problem

The error "job is in topology, trigger type can not be CRON and invoke type can not be ONEWAY" occurs.

Cause

Child nodes in a topology do not support ONEWAY invocation and cannot be triggered by Cron expressions.

Solution

Modify the child job to use an event trigger and set the communication type to CALLBACK.

Incorrect sharding gateway rule

Problem

The error "Sharding rule cannot be parsed" occurs.

Cause

The sharding rule in the topology sharding gateway is invalid. The sharding rule supports only positive integers or the Collection<String> type.

Solution

Modify the sharding rule to use a positive integer or define a parameter of the Collection<String> type in the custom parameters.

Failed to pause a node

Problem

The error "can not suspend job that is executing last handler" occurs.

Cause

A job that is executing its last handler cannot be paused.

Solution

Wait for the job to complete, or forcibly stop the job.

Incorrect object for manual intervention

Problem

  • Node trigger error: can not trigger activity when topology is PAUSED or CANCEL

  • Node resume error: only allowed to resume PAUSED trigger instance

  • Node retry error: activity instance could not be retried which status is EXECUTING

  • Node cancel/stop error: only allowed to cancel EXECUTING or PAUSED trigger instance

  • Node reset error: can not reset when executing post activity was existed

  • Node lock error: activity instance could not be locked which status is SUCCEED or SKIPPED

Cause

Manual intervention operations in a topology apply only to job nodes in specific states.

Solution

Use manual intervention operations only when the node is in an applicable state. For more information, see Manual intervention for job nodes.

No jobs are displayed when you select a node in the job topology graph

Symptoms

When you select a job node in the job topology graph, no jobs are displayed.

Cause

A job topology can be triggered by a Cron expression or an event. However, a job node that you add to the topology must meet the following requirements:

  • The trigger method is event trigger.

  • The communication method is CALLBACK.

  • The job node is a simple job, a cluster job, or another job topology.

Solution

Modify the trigger method or communication method of the job that you want to add to the topology.