Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend expiration (time limit) of running job #4175

Open
1 of 3 tasks
grondo opened this issue Mar 2, 2022 · 2 comments
Open
1 of 3 tasks

extend expiration (time limit) of running job #4175

grondo opened this issue Mar 2, 2022 · 2 comments

Comments

@grondo
Copy link
Contributor

grondo commented Mar 2, 2022

The expiration set in R is currently static, i.e. there is no way to extend the expiration of a running job.

@garlick proposed the idea of allowing updates to the expiration via the job eventlog. Interested parties (e.g. job-exec module and resource module of a child job) could watch the eventlog and update timers or their own expiration as required.

@ryanday36, what is relative priority of this feature? I don't think we've captured it before, but perhaps it falls under the general umbrella of #2799. (Though there is a practical difference between changing the duration before the job has started and the expiration after.)

Tasks

  1. milroy
@ryanday36
Copy link

Yeah, I think it falls under the general rubric of #2799, although priority-wise I'd put it under 'general compute' or maybe even 'nice to have eventually' on the RM Operational Team Interlock. It'll definitely need to be aware of the work on job limits too.

@garlick
Copy link
Member

garlick commented Dec 16, 2022

@garlick proposed the idea of allowing updates to the expiration via the job eventlog.

I don't actually remember what I proposed here but given that this is essentially a resource update, it seems like we might have been thinking of something like an R-update event similar to jobspec-update? This would have the advantage of recording the change for the job record, as well as going to the job manager journal so that job-list could update its data.

When the job is a flux instance, we'd need some way to update the resource module's "inventory" (reflected in kvs resource.R) and we would also need a way to inform the scheduler of the change to R through the resource acquisition protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants