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

Jian He commented on MAPREDUCE-5562:
------------------------------------

- Can you also assert the internal state is at final state ?(missed that in my 
earlier patch)
{code}
    // return exteranl state as RUNNING since otherwise the JobClient will
    // prematurely exit.
    app.waitForState(job, JobState.RUNNING);
{code}
- SuccessfulUnregistration -> successfullyUnregistered?
- Always return the final state if this is the configuration last retry , so 
that we don't need to query RM in the end?

> MR AM should exit when unregister() throws exception
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-5562
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5562
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: MAPREDUCE-5562.1.patch, MAPREDUCE-5562.2.patch, 
> MAPREDUCE-5562.3.patch, MAPREDUCE-5562.5.patch, MAPREDUCE-5562.6.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to