Skip to content

Commit 23bc1e4

Browse files
committed
nothing
1 parent 9c81892 commit 23bc1e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/batch/tutorial-parallel-dotnet.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ 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+
197198
The ffmpeg application is deployed to the compute nodes by adding an [ApplicationPackageReference](/dotnet/api/microsoft.azure.batch.applicationpackagereference) to the pool configuration.
198199

199200
The [CommitAsync](/dotnet/api/microsoft.azure.batch.cloudpool.commitasync) method submits the pool to the Batch service.
@@ -331,3 +332,6 @@ For more examples of using the .NET API to schedule and process Batch workloads,
331332

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

0 commit comments

Comments
 (0)