Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2985

LocalJobRunner gets NullPointerException if there is no output directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.16.1
    • Fix Version/s: 0.16.2
    • Component/s: None
    • Labels:
      None

      Description

      The local job runner gets a null pointer, if the job doesn't have an output directory.

      java.lang.NullPointerException
      at org.apache.hadoop.fs.Path.<init>(Path.java:61)
      at org.apache.hadoop.fs.Path.<init>(Path.java:50)
      at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:117)

      The Job Tracker also gets an ERROR log message, which is incorrect and should be removed.

        Attachments

        1. patch-2985.txt
          7 kB
          Amareshwari Sriramadasu
        2. patch-2985.txt
          7 kB
          Amareshwari Sriramadasu

          Activity

            People

            • Assignee:
              amareshwari Amareshwari Sriramadasu
              Reporter:
              omalley Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: