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

LocalJobRunner gets NullPointerException if there is no output directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.16.1
    • 0.16.2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: