Azure / Azure/hpcpack

Allow job template to say jobs should fail if their parent(s) fail.

Open
#28 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PowerShell
Stars
34
Forks
19
Avg merge
41m
Merged PRs (30d)
4

Description

(Relates to HPC Pack 2019, 6.1.7531.0 and probably earlier)

#### Feature Request Description

* Using `job submit` on the command-line, we can set `/parentjobids` and have a job queue until other job(s) finishes. This is really useful.

* By default though, if the parent job fails, the child job remains in the queue and never execute, so we have to cancel those jobs manually.

* I'm not quite sure if `/faildependenttasks` fixes this - since I am talking about jobs mainly, rather than tasks. Perhaps it does.

* If it does, then it would be good if `/faildependenttasks` could be set as true by default, at the job template level.

#### Describe Preferred Solution

Option to select Fail Dependent Tasks (or jobs?) in HPC Cluster Manager, in Configuration -> Job Templates -> Job Template Editor -> Add (property) drop down. We already have "Fail on Task Failure", but not "Fail if parent tasks/jobs fail"

#### Describe Alternatives Considered

Alternatively - I cannot really see a reason why you wouldn't want /faildependenttasks to be on all the time. Presumably it makes no difference if there are no dependent jobs, but I think it's reasonable that all child jobs fail by default if the parent fails.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.