question

JHawk-4061 avatar image
0 Votes"
JHawk-4061 asked SadiqhAhmed-MSFT edited

Deleting completed tasks

Is it okay to delete completed tasks that are taking up space in /opt/msawb/var/lib/catalog/TaskManagerCatalog/CompletedTasks?

azure-batch
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered

Hello @JHawk-4061 - Thanks for reaching out.

If you are concerned about tasks taking up disk space, then you can specify the retentionTime on the TaskContstraints. Task data is deleted by the Batch system sometime after the retention time expires.

However, the task itself is not deleted from the system (just the files on the node that executed the task). If you need to delete your tasks (or jobs), you will need to create an external process that does this.

If the above response helps, Please feel free to "Accept as Answer" so it can beneficial to the community.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.