What to do with failed jobs?
Asked Answered
P

1

9

In Google Cloud ML (Machine Learning), I submitted a job, but it failed due to a Python error in the code.

After fixing the error, how can I re-run the job? Should I submit a new job?

When I'm done, how to delete the job?

The online documentation is not complete.

Thanks

Pillowcase answered 7/11, 2016 at 7:48 Comment(0)
K
13

When you're ready to re-try the job, just submit a new job with a new job name.

There is no way to delete jobs since we want to provide you with a record of previous jobs. Jobs will reach a terminal state (FAILED, SUCCEEDED, or CANCELLED) in which they are no longer consuming any resources. However, the jobs will continue to show up in the UI or in the API if you list jobs.

Khz answered 7/11, 2016 at 13:21 Comment(3)
Thank you. So, I'm gonna have lots of jobs listed there. After fixing each code error, I submit a new job.Pillowcase
@Pillowcase I am also facing the same issue and found no way to clear the failed jobs. Even the logs are linked to it. #Google could be troubled if someone prints junk logs just filling up server space.Tenfold
Job logs are stored in StackDriver logging and will be retained in accordance with StackDriver logging retentionKhz

© 2022 - 2024 — McMap. All rights reserved.