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

NPE thrown from JobControlCompiler.shipToHdfs

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.13.0, 0.14.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment