when we run the az batch task file list to show all the task file in batch execution. we encounter the following error immediately.
" The specified operation is not valid for the current state of the resource.
RequestId:bfad4b09-53a4-4a7f-b9a5-d54a630699d7
Time:2021-03-14T17:17:42.8558070Z
Reason: The files of the specified task cannot be accessed as the task state is still active"
afterwe try to az batch task file download, we got the same error.
actually we can solve this issue by requesting dedicated nodes manually on the portal for that specific batch account.
here are the steps to reach our goal.
1. go the batch account
2. click on the pools item on the blade to show the pools under this batch account
3. click on the pool name that we created for batch action.
4.click on the nodes item on the blade.
5.click on the any node under the name column to view the contents in the node
6.click on the workitems folder to view the batch job which is myjob that we created previously
7.click on myjob folder, then click on myjob1, and click on the task1 to show the content of task1.
8. click on the stardout.txt to show the task execution result.
now we can verify our batch process manually in the azure portal.
No comments:
Post a Comment