Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-15

[Submarine] Job should not be submitted if "--input_path" option is missing

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      If a user doesn't set "–input_path" option, the job will still be submitted. Here is my command to run the job:

      yarn jar $HADOOP_BASE_DIR/home/share/hadoop/yarn/hadoop-yarn-submarine-3.2.0-SNAPSHOT.jar job run \
       -verbose \
       -wait_job_finish \
       --env DOCKER_JAVA_HOME=/usr/lib/jvm/java-8-oracle \
       --env DOCKER_HADOOP_HDFS_HOME=/hadoop-3.2.0-SNAPSHOT \
       --name tf-job-001 \
       --docker_image tangzhankun/tensorflow \
       --worker_resources memory=4G,vcores=2 \
       --worker_launch_cmd "cd /cifar10_estimator && python cifar10_main.py --data-dir=%input_path% --job-dir=%checkpoint_path% --num-gpus=0 --train-steps=5"

      Due to lack of invalidity check, the job is still submitted. We should add a check on this.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tangzhankun Zhankun Tang
            tangzhankun Zhankun Tang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment