pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-4967) NPE in PigJobControl.run() when job status is null
Date Tue, 23 Aug 2016 17:12:23 GMT

    [ https://issues.apache.org/jira/browse/PIG-4967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433214#comment-15433214
] 

Daniel Dai commented on PIG-4967:
---------------------------------

I assume by doing " j.getJob().getStatus()==null", we don't need to pull Job.toString() into
Pig, is that right?

> NPE in PigJobControl.run() when job status is null
> --------------------------------------------------
>
>                 Key: PIG-4967
>                 URL: https://issues.apache.org/jira/browse/PIG-4967
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.15.0
>            Reporter: Xiang Li
>            Assignee: Xiang Li
>            Priority: Critical
>             Fix For: 0.16.0
>
>         Attachments: PIG-4967-0.patch, PIG-4967-1.patch
>
>
> {code}
> [JobControl] ERROR org.apache.pig.backend.hadoop23.PigJobControl  - Error while trying
to run jobs.
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapreduce.Job.getJobName(Job.java:426)
> 	at org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.toString(ControlledJob.java:93)
> 	at java.lang.String.valueOf(String.java:2982)
> 	at java.lang.StringBuilder.append(StringBuilder.java:131)
> 	at org.apache.pig.backend.hadoop23.PigJobControl.run(PigJobControl.java:182)
> 	at java.lang.Thread.run(Thread.java:745)
> 	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$1.run(MapReduceLauncher.java:276)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message