Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3190

bin/yarn should barf early if HADOOP_COMMON_HOME or HADOOP_HDFS_HOME are not set

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • mrv2
    • None

    Description

      Currently, if these env vars are not set when you run bin/yarn, it will crash with various ClassNotFoundExceptions, having added /share/hadoop/hdfs to the classpath. Rather, we should check for these env vars in the wrapper script and display a reasonable error message.

      Attachments

        1. mr-3190.txt
          2 kB
          Arun Murthy
        2. mr-3190.txt
          1 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: