You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/batch/batch-task-start-event.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.date: 07/01/2025
7
7
8
8
# Task start event
9
9
10
-
This event is emitted once a task has been scheduled to start on a compute node by the scheduler. Note that if the task is retried or requeued this event will be emitted again for the same task, but the retry count and system task version will be updated accordingly.
10
+
This event is emitted once a task is scheduled to start on a compute node by the scheduler. If the task is retried or requeued, this event will be emitted again for the same task. The retry count and system task version will be updated accordingly.
11
11
12
12
13
13
The following example shows the body of a task start event.
@@ -39,11 +39,11 @@ ms.date: 07/01/2025
39
39
|------------------|----------|-----------|
40
40
|`jobId`|String|The ID of the job containing the task.|
41
41
|`id`|String|The ID of the task.|
42
-
|`taskType`|String|The type of the task. This can either be 'JobManager' indicating it is a job manager task or 'User' indicating it is not a job manager task.|
43
-
|`systemTaskVersion`|Int32|This is the internal retry counter on a task. Internally the Batch service can retry a task to account for transient issues. These issues can include internal scheduling errors or attempts to recover from compute nodes in a bad state.|
42
+
|`taskType`|String|The type of the task. It's either a 'JobManager' indicating it's a job manager task or 'User' indicating it isn't a job manager task.|
43
+
|`systemTaskVersion`|Int32|The internal retry counter on a task. Internally the Batch service retries a task to account for transient issues. These issues include internal scheduling errors or attempts to recover from compute nodes in a bad state.|
44
44
|`requiredSlots`|Int32|The required slots to run the task.|
45
-
|[`nodeInfo`](#nodeInfo)|Complex Type|Contains information about the compute node on which the task ran.|
46
-
|[`multiInstanceSettings`](#multiInstanceSettings)|Complex Type|Specifies that the task is Multi-Instance Task requiring multiple compute nodes. See [multiInstanceSettings](/rest/api/batchservice/get-information-about-a-task) for details.|
45
+
|[`nodeInfo`](#nodeInfo)|Complex Type|Contains information about the compute node on which the task ran.|
46
+
|[`multiInstanceSettings`](#multiInstanceSettings)|Complex Type|Specifies that the task is Multi-Instance Task requiring multiple compute nodes. See [multiInstanceSettings](/rest/api/batchservice/get-information-about-a-task) for details.|
47
47
|[`constraints`](#constraints)|Complex Type|The execution constraints that apply to this task.|
48
48
|[`executionInfo`](#executionInfo)|Complex Type|Contains information about the execution of the task.|
49
49
@@ -64,10 +64,10 @@ ms.date: 07/01/2025
64
64
65
65
|Element name|Type|Notes|
66
66
|------------------|----------|-----------|
67
-
|`maxTaskRetryCount`|Int32|The maximum number of times the task may be retried. The Batch service retries a task if its exit code is nonzero.<br /><br /> Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a task up to 4 times (one initial try and 3 retries).<br /><br /> If the maximum retry count is 0, the Batch service does not retry tasks.<br /><br /> If the maximum retry count is -1, the Batch service retries tasks without limit.<br /><br /> The default value is 0 (no retries).|
67
+
|`maxTaskRetryCount`|Int32|The maximum number of times the task is retried. The Batch service retries a task if its exit code is nonzero.<br /><br /> This value specifically controls the number of retries. The Batch service tries the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a task up to 4 times (one initial try and 3 retries).<br /><br /> If the maximum retry count is 0, the Batch service doesn't retry tasks.<br /><br /> If the maximum retry count is -1, the Batch service retries tasks without limit.<br /><br /> The default value is 0 (no retries).|
68
68
69
69
### <aname="executionInfo"></a> executionInfo
70
70
71
71
|Element name|Type|Notes|
72
72
|------------------|----------|-----------|
73
-
|`retryCount`|Int32|The number of times the task has been retried by the Batch service. The task is retried if it exits with a nonzero exit code, up to the specified MaxTaskRetryCount|
73
+
|`retryCount`|Int32|The number of times the task is retried by the Batch service. The task is retried if it exits with a nonzero exit code, up to the specified MaxTaskRetryCount|
0 commit comments