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

NPE thrown from JobControlCompiler.shipToHdfs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0, 0.14.0
    • Component/s: None
    • Labels:
      None

      Description

      I ran into this NPE while running e2e Native tests with release source tarball. When the file that Pig tries to ship to hdfs doesn't exist, it fails with the following error-

      Caused by: java.lang.NullPointerException
          at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.shipToHDFS(JobControlCompiler.java:1707)
          at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.putJarOnClassPathThroughDistributedCache(JobControlCompiler.java:1612)
          at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:605)
          ... 19 more
      

      The problem is that this NPE covers up the root cause.

        Attachments

        1. PIG-4701-1.patch
          0.7 kB
          Cheolsoo Park

          Issue Links

            Activity

              People

              • Assignee:
                cheolsoo Cheolsoo Park
                Reporter:
                cheolsoo Cheolsoo Park
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: