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:35:04 UTC

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

     [ https://issues.apache.org/jira/browse/PIG-4017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheolsoo Park updated PIG-4017:
-------------------------------

    Attachment: PIG-4701-1.patch

Added a null check.

> 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)