Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[Job Debugging] An option for user to enable debugging reservation #2214

Closed
ydye opened this issue Feb 26, 2019 · 0 comments
Closed

[Job Debugging] An option for user to enable debugging reservation #2214

ydye opened this issue Feb 26, 2019 · 0 comments
Assignees
Milestone

Comments

@ydye
Copy link
Contributor

ydye commented Feb 26, 2019

What would you like to be added:

when submitting the job, user can specify the the optional flag in the jobEnv. 

If the flag is true and the job failed due to users' error, the job container will be reserved. 
Or the container will directly exit. 

image

Why is this needed:

1. If all container will be reserved in OpenPAI, much of the resource will be wasted. So the default behavior should be false.
2. Not all of users has the demand to debug the failed job.

Without this feature, how does the current module work

Unable to directly exit from a failed container due to users' error.

Components that may involve changes:

Restserver
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant