Skip to content

Commit 52373b2

Browse files
authored
Merge pull request #108809 from LauraBrenner/laura-parallel-dotnet-fix
Laura parallel dotnet fix
2 parents 1a3a1e0 + a03d926 commit 52373b2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/batch/tutorial-parallel-dotnet.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ Next, the sample creates a pool of compute nodes in the Batch account with a cal
194194

195195
The number of nodes and VM size are set using defined constants. Batch supports dedicated nodes and [low-priority nodes](batch-low-pri-vms.md), and you can use either or both in your pools. Dedicated nodes are reserved for your pool. Low-priority nodes are offered at a reduced price from surplus VM capacity in Azure. Low-priority nodes become unavailable if Azure does not have enough capacity. The sample by default creates a pool containing only 5 low-priority nodes in size *Standard_A1_v2*.
196196

197-
The ffmpeg application is deployed to the compute nodes by adding an [ApplicationPackageReference](/dotnet/api/microsoft.azure.batch.applicationpackagereference) to the pool configuration.
197+
>[Note]
198+
>Be sure you check your node quotas. See [Batch service quotas and limits](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbatch%2Fbatch-quota-limit%23increase-a-quota&data=02%7C01%7CLaura.Brenner%40microsoft.com%7C9843bf742920414ca3e508d7cb83e288%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637201639605899246&sdata=uKY00XhSMjDkFIPGHYmDN4TOtL4UQhFus42ncst95pg%3D&reserved=0) for instructions on how to create a quota request."
199+
200+
The ffmpeg application is deployed to the compute nodes by adding an [ApplicationPackageReference](/dotnet/api/microsoft.azure.batch.applicationpackagereference) to the pool configuration. To ensure [application activation](https://docs.microsoft.com/cli/azure/batch/application/package?view=azure-cli-latest#az-batch-application-package-activate).
198201

199202
The [CommitAsync](/dotnet/api/microsoft.azure.batch.cloudpool.commitasync) method submits the pool to the Batch service.
200203

@@ -331,3 +334,6 @@ For more examples of using the .NET API to schedule and process Batch workloads,
331334

332335
> [!div class="nextstepaction"]
333336
> [Batch C# samples](https://github.com/Azure-Samples/azure-batch-samples/tree/master/CSharp)
337+
338+
339+
Setting the instance variable LowPriorityNodeCount=0 and the DedicatedNodeCount=5 fixed the issue and allowed the job to complete.

0 commit comments

Comments
 (0)