Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4967

NPE in PigJobControl.run() when job status is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.15.0
    • 0.16.1
    • None
    • None
    • Reviewed

    Description

      [JobControl] ERROR org.apache.pig.backend.hadoop23.PigJobControl  - Error while trying to run jobs.
      java.lang.NullPointerException
      	at org.apache.hadoop.mapreduce.Job.getJobName(Job.java:426)
      	at org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.toString(ControlledJob.java:93)
      	at java.lang.String.valueOf(String.java:2982)
      	at java.lang.StringBuilder.append(StringBuilder.java:131)
      	at org.apache.pig.backend.hadoop23.PigJobControl.run(PigJobControl.java:182)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$1.run(MapReduceLauncher.java:276)
      

      Attachments

        1. PIG-4967-0.patch
          3 kB
          Xiang Li
        2. PIG-4967-1.patch
          3 kB
          Xiang Li
        3. PIG-4967-2.patch
          1 kB
          Xiang Li
        4. PIG-4967-3.patch
          1 kB
          Xiang Li

        Issue Links

          Activity

            People

              xiangli Xiang Li
              xiangli Xiang Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: