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

Weiwei Yang commented on MAPREDUCE-6762:
----------------------------------------

Thanks a lot [~varun_saxena].

> 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
>             Fix For: 2.9.0
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to