Azure-Samples / azure-batch-samples

Azure Batch and HPC Code Samples
Other
261 stars 487 forks source link

Reworked Java PoolAndResourceFile sample #297

Closed dpwatrous closed 3 years ago

dpwatrous commented 3 years ago
dpwatrous commented 3 years ago

New output looks something like this:

Creating pool dawatrou-pooltest with 1 dedicated node(s)
Waiting for pool to resize........
Waiting for VMs to start.............
Submitting job PoolAndResourceFileJob-dawatrou-Fri-Jan-29-10-46-12-EST-2021 with 5 tasks
Waiting for tasks to complete (Timeout: 5m)..
All tasks completed

Task Results
------------------------------------------------------

Task mytask0 output (stdout.txt):
This is test text.
It will be printed after batch task is completed.

Task mytask1 output (stdout.txt):
This is test text.
It will be printed after batch task is completed.

Task mytask2 output (stdout.txt):
This is test text.
It will be printed after batch task is completed.

Task mytask3 output (stdout.txt):
This is test text.
It will be printed after batch task is completed.

Task mytask4 output (stdout.txt):
This is test text.
It will be printed after batch task is completed.

------------------------------------------------------

Deleting job PoolAndResourceFileJob-dawatrou-Fri-Jan-29-10-46-12-EST-2021
Deleting pool dawatrou-pooltest
Deleting storage container poolsandresourcefiles

Finished