You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2014/06/18 00:31:09 UTC

[jira] [Created] (PIG-4017) NPE thrown from JobControlCompiler.shipToHdfs

Cheolsoo Park created PIG-4017:
----------------------------------

             Summary: NPE thrown from JobControlCompiler.shipToHdfs
                 Key: PIG-4017
                 URL: https://issues.apache.org/jira/browse/PIG-4017
             Project: Pig
          Issue Type: Bug
            Reporter: Cheolsoo Park
            Assignee: Cheolsoo Park
            Priority: Trivial
             Fix For: 0.13.0


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-
{code}
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
{code}
The problem is that this NPE covers up the root cause.



--
This message was sent by Atlassian JIRA
(v6.2#6252)