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

Varun Saxena commented on MAPREDUCE-6762:
-----------------------------------------

Looks good. Will commit it if there are no further comments.

Job history not being flushed when AM is finishing, which leads to job not 
being found in JHS has been encountered before (see, MAPREDUCE-6428, 
MAPREDUCE-5703 and MAPREDUCE-5547). But irrespective, this NPE should be fixed.

> ControlledJob#toString failed with NPE when job status is not successfully 
> updated
> ----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6762
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6762
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.7.2
>            Reporter: Weiwei Yang
>         Attachments: MAPREDUCE-6762.001.patch
>
>
> This issue was found from a cluster where Pig query occasionally failed on 
> NPE. Pig uses JobControl API to track MR job status, but sometimes Job 
> History Server failed to flush job meta files to HDFS which caused the status 
> update failed. Then we get NPE in 
> {{org.apache.hadoop.mapreduce.Job.getJobName}}. The result of this situation 
> is quite confusing: Pig query failed, job history is missing, but the job 
> status on Yarn is succeed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to