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 Improvement
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Todd Lipcon created issue -
        Todd Lipcon made changes -
        Field Original Value New Value
        Attachment mr-3190.txt [ 12499079 ]
        Todd Lipcon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Arun C Murthy made changes -
        Attachment mr-3190.txt [ 12499238 ]
        Arun C Murthy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.23.0 [ 12315570 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development