Skip to content

Commit ca3f0c7

Browse files
committed
touchups
1 parent b5dd521 commit ca3f0c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/batch/batch-job-prep-release.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ This article shows how to use the [JobPreparationTask](/dotnet/api/microsoft.azu
3030
3131
## Use cases for job preparation and release tasks
3232

33-
Job preparation and job release tasks are a good fit for the following situations:
33+
Job preparation and job release tasks are a good fit for the following scenarios:
3434

3535
- **Download common task data**. Batch jobs often require a common set of data as input for a job's tasks. You can use a job preparation task to download this data to each node before the execution of the job's other tasks.
3636

3737
For example, in daily risk analysis calculations, market data is job-specific yet common to all tasks in the job. You can use a job preparation task to download this market data, which is often several gigabytes in size, to each compute node so that any task that runs on the node can use it.
3838

39-
- **Job and task output deletion**. In a shared pool environment, where a pool's compute nodes aren't decommissioned between jobs, you might need to delete job data between runs. For example, you might need to conserve disk space on the nodes, or satisfy your organization's security policies. You can use a job release task to delete data that a job preparation task downloaded or that task execution generated.
39+
- **Delete job and task output**. In a shared pool environment, where a pool's compute nodes aren't decommissioned between jobs, you might need to delete job data between runs. For example, you might need to conserve disk space on the nodes, or satisfy your organization's security policies. You can use a job release task to delete data that a job preparation task downloaded or that task execution generated.
4040

41-
- **Log retention**. You might want to keep a copy of log files that your tasks generate, or crash dump files that failed applications generate. You can use a job release task to compress and upload this data to an [Azure Storage account](accounts.md#azure-storage-accounts).
41+
- **Retain logs**. You might want to keep a copy of log files that your tasks generate, or crash dump files that failed applications generate. You can use a job release task to compress and upload this data to an [Azure Storage account](accounts.md#azure-storage-accounts).
4242

4343
## Job preparation task
4444

@@ -160,13 +160,13 @@ Sample complete, hit ENTER to exit...
160160
```
161161

162162
> [!NOTE]
163-
> Because the variable creation and start time of nodes in a new pool means some nodes are ready for tasks before others, you might see different output. Specifically, because the tasks complete quickly, one of the pool's nodes might run all of the job's tasks. If this occurs, the job preparation and release tasks don't exist for the node that ran no tasks.
163+
> The varying creation and start times of nodes in a new pool means some nodes are ready for tasks before others, so you might see different output. Specifically, because the tasks complete quickly, one of the pool's nodes might run all of the job's tasks. If this occurs, the job preparation and release tasks don't exist for the node that ran no tasks.
164164
165165
## View job preparation and release tasks in the Azure portal
166166

167-
You can use the [Azure portal](https://portal.azure.com) to view Batch job properties and tasks, including job preparation tasks and release tasks. Navigate to the job page after your tasks have completed, but before deleting your job and pool.
167+
You can use the [Azure portal](https://portal.azure.com) to view Batch job properties and tasks, including job preparation and release tasks. Navigate to the job page after your tasks have completed, but before deleting your job and pool.
168168

169-
The following screenshot shows the **JobPrepReleaseSampleJob** page after you run the sample application. Because the job has preparation tasks, you can select **Preparation tasks** in the left navigation on the job page to see their properties. You can also download the shared text file that the job tasks modify by selecting **Tasks** in the left navigation.
169+
The following screenshot shows the **JobPrepReleaseSampleJob** page after the sample application runs. This job had preparation tasks, so you can select **Preparation tasks** in the left navigation on the job page to see their properties. You can also download the shared text file that the job tasks modify by selecting **Tasks** in the left navigation.
170170

171171
:::image type="content" source="media/batch-job-prep-release/portal-jobprep-01.png" alt-text="Screenshot showing job preparation task properties in the Azure portal.":::
172172

0 commit comments

Comments
 (0)