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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      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 C Murthy
        2. mr-3190.txt
          1 kB
          Todd Lipcon

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: