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

Hudson commented on YARN-5617:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11625 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/11625/])
YARN-5617. AMs only intended to run one attempt can be run more than (epayne: 
rev 52adf719143c20f4f2af369c6c40dd98677e7410)
* (edit) 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java
* (edit) 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/applicationsmanager/TestAMRestart.java


> AMs only intended to run one attempt can be run more than once
> --------------------------------------------------------------
>
>                 Key: YARN-5617
>                 URL: https://issues.apache.org/jira/browse/YARN-5617
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.5.0
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: YARN-5617.001.patch, YARN-5617.002.patch, 
> YARN-5617.003.patch
>
>
> There are times when a user only wants to run an application with one 
> attempt.  Examples would be cases where the second AM attempt is not prepared 
> to handle recovery or will accidentally corrupt state (e.g.: by re-executing 
> something from scratch that should not be).  Prior to YARN-614 setting the 
> max attempts to 1 would guarantee the app ran at most one attempt, but now it 
> can run more than one attempt if the attempts fail due to a fault not 
> attributed to the application.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to