Skip to content

Commit e99ec3c

Browse files
committed
Made further modifications to the Azure Batch JavaScript doc
1 parent 9c4b603 commit e99ec3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/batch/batch-js-get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const poolConfig = {
153153
enableAutoScale: false
154154
};
155155

156-
// Creating the Pool for the specific customer
156+
// Creating the Pool
157157
var pool = batchClient.pool.add(poolConfig, function (error, result){
158158
if(error!=null){console.log(error.response)};
159159
});
@@ -228,14 +228,14 @@ An Azure Batch job is a logical group of similar tasks. In our scenario, it is "
228228
These tasks would run in parallel and deployed across multiple nodes, orchestrated by the Azure Batch service.
229229

230230
> [!TIP]
231-
> You can use the [taskSlotsPerNode](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/batch/arm-batch/src/models/index.ts#L1190) property to specify maximum number of tasks that can run concurrently on a single node.
231+
> You can use the [taskSlotsPerNode](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/batch/arm-batch/src/models/index.ts#L1190-L1191) property to specify maximum number of tasks that can run concurrently on a single node.
232232
233233
#### Preparation task
234234

235235
The VM nodes created are blank Ubuntu nodes. Often, you need to install a set of programs as prerequisites.
236236
Typically, for Linux nodes you can have a shell script that installs the prerequisites before the actual tasks run. However it could be any programmable executable.
237237

238-
The [shell script](https://github.com/Azure-Samples/azure-batch-samples/blob/master/JavaScript/Node.js/startup_prereq.sh) in this example installs Python-pip and the Azure Storage SDK for Python.
238+
The [shell script](https://github.com/Azure-Samples/azure-batch-samples/blob/master/JavaScript/Node.js/startup_prereq.sh) in this example installs Python-pip and the Azure Storage Blob SDK for Python.
239239

240240
You can upload the script on an Azure Storage Account and generate a SAS URI to access the script. This process can also be automated using the Azure Storage JavaScript SDK.
241241

@@ -320,7 +320,7 @@ containerList.forEach(function (val, index) {
320320

321321
The code adds multiple tasks to the pool. And each of the tasks is executed on a node in the pool of VMs created. If the number of tasks exceeds the number of VMs in a pool or the taskSlotsPerNode property, the tasks wait until a node is made available. This orchestration is handled by Azure Batch automatically.
322322

323-
The portal has detailed views on the tasks and job statuses. You can also use the list and get functions in the Azure JavaScript SDK. Details are provided in the documentation [link](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/batch/batch/src/operations/job.ts#L120).
323+
The portal has detailed views on the tasks and job statuses. You can also use the list and get functions in the Azure JavaScript SDK. Details are provided in the documentation [link](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/batch/batch/src/operations/job.ts#L114-L149).
324324

325325
## Next steps
326326

0 commit comments

Comments
 (0)