Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-44

Ozone: start-ozone.sh fail to start datanode because of incomplete classpaths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2.1
    • 0.2.1
    • Tools
    • None
    • HDDS Acadia

    Description

      start-ozone.sh calls start-dfs.sh to start the NN and DN in a ozone cluster. Starting of datanode fails because of incomplete classpaths as datanode is unable to load all the plugins.

      Setting the class path to the following values does resolve the issue:

      export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/ozone/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/hdsl/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/ozone/lib/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/hdsl/lib/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/cblock/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/cblock/lib/*
      

      Attachments

        1. HDFS-13383-HDFS-7240.002.patch
          0.6 kB
          Mukul Kumar Singh
        2. HDFS-13383-HDFS-7240.001.patch
          0.6 kB
          Mukul Kumar Singh
        3. HDDS-44.004.patch
          4 kB
          Mukul Kumar Singh
        4. HDDS-44.003.patch
          3 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: