Skip to content

Commit 164614c

Browse files
authored
Fixed the Acrolinx score
1 parent f3c0ed6 commit 164614c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/batch/batch-task-schedule-fail-event.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 07/01/2025
77

88
# Task schedule fail event
99

10-
This event is emitted when a task failed to be scheduled and will be retried later. This is a temporary failure at task scheduling time due to resource limitation, for example not enough slots available on nodes to run a task with `requiredSlots` specified.
10+
This event is emitted when a task failed to be scheduled and it's retried later. It's a temporary failure at task scheduling time due to resource limitation, for example, not enough slots available on nodes to run a task with `requiredSlots` specified.
1111

1212
The following example shows the body of a task schedule fail event.
1313

@@ -40,8 +40,8 @@ ms.date: 07/01/2025
4040
|------------------|----------|-----------|
4141
|`jobId`|String|The ID of the job containing the task.|
4242
|`id`|String|The ID of the task.|
43-
|`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. This event is not emitted for job preparation tasks, job release tasks or start tasks.|
44-
|`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.|
43+
|`taskType`|String|The type of the task. It's either 'JobManager' indicating that it's a job manager task or 'User' indicating it's not a job manager task. This event isn't emitted for job preparation tasks, job release tasks, or start tasks.|
44+
|`systemTaskVersion`|Int32|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.|
4545
|`requiredSlots`|Int32|The required slots to run the task.|
4646
|[`nodeInfo`](#nodeInfo)|Complex Type|Contains information about the compute node on which the task ran.|
4747
|[`multiInstanceSettings`](#multiInstanceSettings)|Complex Type|Specifies that the task is a Multi-Instance Task requiring multiple compute nodes. See [`multiInstanceSettings`](/rest/api/batchservice/get-information-about-a-task) for details.|
@@ -65,7 +65,7 @@ ms.date: 07/01/2025
6565

6666
|Element name|Type|Notes|
6767
|------------------|----------|-----------|
68-
|`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).|
68+
|`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 /> 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).|
6969

7070

7171
### <a name="schedulingError"></a> schedulingError

0 commit comments

Comments
 (0)