Unable to resubmit job to ml-engine because "Work with this identifier already exists"

I am trying to submit a job to gcloud ml-engine. For reference, the assignment uses this example provided by Google.

This happened for the first time, but with errors not related to this question, and now I'm trying to reissue the command after fixing my errors:

gcloud ml-engine jobs submit training $JOB_NAME \
                                    --stream-logs \
                                    --runtime-version 1.0 \
                                    --job-dir $GCS_JOB_DIR \
                                    --module-name trainer.task \
                                    --package-path trainer/ \
                                    --region us-east1 \
                                    -- \
                                    --train-files $TRAIN_GCS_FILE \
                                    --eval-files $EVAL_GCS_FILE \
                                    --train-steps $TRAIN_STEPS

where $JOB_NAME= census. Unfortunately, it seems that I cannot continue re-executing the task unless I change it $JOB_NAMEas something like census2, then census3etc. For each new assignment.

The following is the error I am getting:

ERROR: (gcloud.ml-engine.jobs.submit.training) Project [my-project-name]
is the subject of a conflict: Field: job.job_id Error: A job with this
id already exists.

Is this part of the design impossible to resubmit using the same job name or is something missing?

+4
2

, , Google , , id, 22, ,

declare -r JOB_ID="flowers_${USER}_$(date +%Y%m%d_%H%M%S)"
+1

Chunck, JOB_NAME : JOB_NAME="census_$(date +%Y%m%d_%H%M%S)"

0

Source: https://habr.com/ru/post/1673624/


All Articles