Uploaded image for project: 'Hadoop Submarine'
  1. Hadoop Submarine
  2. SUBMARINE-6

[Submarine] Failed to reset Hadoop home environment when submitting a submarine job

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      When a standalone submarine tf job is submitted, the following error is got :

      INFO:tensorflow:image after unit resnet/tower_0/fully_connected/: (?, 11)
      INFO:tensorflow:Done calling model_fn.
      INFO:tensorflow:Create CheckpointSaverHook.
      hdfsBuilderConnect(forceNewInstance=0, nn=submarine, port=0, kerbTicketCachePath=(NULL), userNa
      me=(NULL)) error:
      (unable to get root cause for java.lang.NoClassDefFoundError)
      (unable to get stack trace for java.lang.NoClassDefFoundError)
      hdfsBuilderConnect(forceNewInstance=0, nn=submarine, port=0, kerbTicketCachePath=(NULL), userNa
      me=(NULL)) error:
      (unable to get root cause for java.lang.NoClassDefFoundError)
      (unable to get stack trace for java.lang.NoClassDefFoundError)

       

      This error may be related to hadoop classpath

      Hadoop env variables of launch_container.sh are as follows:

      export HADOOP_COMMON_HOME=${HADOOP_COMMON_HOME:-"/home/hadoop/yarn-submarine"}
      export HADOOP_HDFS_HOME=${HADOOP_HDFS_HOME:-"/home/hadoop/yarn-submarine"}
      export HADOOP_CONF_DIR=${HADOOP_CONF_DIR:-"/home/hadoop/yarn-submarine/conf"}
      export HADOOP_YARN_HOME=${HADOOP_YARN_HOME:-"/home/hadoop/yarn-submarine"}
      export HADOOP_HOME=${HADOOP_HOME:-"/home/hadoop/yarn-submarine"}

       

      run-PRIMARY_WORKER.sh is like:

      export HADOOP_YARN_HOME=
      export HADOOP_HDFS_HOME=/hadoop-3.1.0
      export HADOOP_CONF_DIR=$WORK_DIR

       

        

        Attachments

        1. YARN-8698.001.patch
          2 kB
          Zac Zhou

          Issue Links

            Activity

              People

              • Assignee:
                yuan_zac Zac Zhou
                Reporter:
                yuan_zac Zac Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: