Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to do with failed jobs?

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

like image 816
Androidification Avatar asked Nov 07 '16 07:11

Androidification


People also ask

Is it OK to fail at a job?

Throughout life we make plenty of mistakes at school, in relationships and throughout our careers, regardless of our experience or intelligence. Failure is part of being human and is impossible to avoid, but how we deal with failure will determine our success and how we grow and prosper.

What if I fail at my new job?

If you are failing at new job, it may be difficult to really see your part in it. Keep looking. Seeing and admitting your failures is the first step to addressing them. Each failure on your part and every obstacle you encounter helps you learn more about yourself.


1 Answers

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.

like image 88
Jeremy Lewi Avatar answered Oct 13 '22 00:10

Jeremy Lewi