hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5617) AMs only intended to run one attempt can be run more than once
Date Fri, 13 Jan 2017 14:42:26 GMT

     [ https://issues.apache.org/jira/browse/YARN-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Lowe updated YARN-5617:
-----------------------------
    Attachment: YARN-5617.001.patch

Here's a patch that implements the "one max attempt really means one attempt total" policy.
 I can't think of a case where a user or framework explicitly setting max attempts to 1 ever
expects the AM to run more than once.  This typically is set when running the AM more than
once will actually be problematic.

> 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
>         Attachments: YARN-5617.001.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.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message