This topic describes the advanced parameters for job management.
The following table describes the advanced parameters for job management.
Parameter | Applicable execution mode | Description | Default value |
Task failure retry count | All modes | The number of automatic retries if a job fails. Note If a job is running on a worker and the worker is restarted, the job fails. If you want to immediately rerun the job, you can specify this parameter. | 0 |
Task failure retry interval | All modes | The interval between two consecutive retries. Unit: seconds. | 30 |
Task concurrency | All modes | The number of instances that run the same job at the same time. A value of 1 specifies that concurrent execution is not allowed. | 1 |
Cleaning strategy | All modes | The cleanup policy for job execution history. | Keep last N entries |
Retained Number | All modes | The number of retained job execution records. | 300 |
Number of single-machine concurrent subtasks |
| The number of tasks that concurrently run on a single worker in a distributed model. To speed up the execution, you can specify a larger value. If the downstream or the databases cannot withstand the value that you specified, you can specify a smaller value. | 5 |
Number of failed retries of subtasks |
| The number of automatic retries if a task fails in a distributed model. | 0 |
Sub-task failure retry interval |
| The interval between two consecutive retries if a task fails in a distributed model. Unit: seconds. | 0 |
Subtask Failover Strategy |
| Specifies whether to distribute a task to a new worker after the worker fails to execute the task and is stopped. If you turn on the switch, the system may execute a task more than once when a failover is triggered. You must implement the idempotence of tasks. Note This parameter is applicable to agents V1.8.13 and later. | |
The master node participates in the execution |
| Specifies whether the master node participates in the execution of tasks. At least two workers must be available to run tasks. If an extremely large number of tasks exist, we recommend that you turn off the switch. Note This parameter is applicable to agents V1.8.13 and later. | |
Subtask distribution method |
|
| Push model |
distribution policy |
| The task distribution policy. Default value: Polling Scheme.
Note This parameter is applicable to agents V1.10.14 and later. | |
Distribution rate |
| The task distribution rate. You can specify the number of tasks to be distributed per second or per minute. | |
Number of subtasks pulled per time |
| The number of tasks that a slave node pulls from the master node at a time. This parameter is displayed only if the Subtask distribution method parameter is set to Pull model. | 5 |
Subtask queue capacity |
| The size of the queue that caches tasks on a slave node. This parameter is displayed only if the Subtask distribution method parameter is set to Pull model. | 10 |
Global concurrency of subtasks |
| The total number of concurrent tasks on all workers in the pull model. This parameter helps you limit the number of concurrent tasks. This parameter is displayed only if the Subtask distribution method parameter is set to Pull model. | 1000 |