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

Rohith Sharma K S commented on MAPREDUCE-5441:
----------------------------------------------

One scenario I have doubt,
what if current running application master attempt is last( i.e isLastAMRetry 
is true)? I think it is better to validate isLastAMRetry and set external state.
                
> JobClient exit whenever RM issue Reboot command to 1st attempt App Master.
> --------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5441
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5441
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster, client
>    Affects Versions: 2.1.0-beta, 2.0.5-alpha, 2.1.1-beta
>            Reporter: Rohith Sharma K S
>            Assignee: Jian He
>         Attachments: MAPREDUCE-5441.patch
>
>
> When RM issue Reboot command to app master, app master shutdown gracefully. 
> All the history event are writtent to hdfs with job status set as ERROR. 
> Jobclient get job state as ERROR and exit. 
> But RM launches 2nd attempt app master where no client are there to get job 
> status.In RM UI, job status is displayed as SUCCESS but for client Job is 
> Failed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to