[
https://issues.apache.org/jira/browse/PIG-4017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034562#comment-14034562
]
Daniel Dai commented on PIG-4017:
---------------------------------
+1
> 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, 0.14.0
>
> Attachments: PIG-4701-1.patch
>
>
> 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)