hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kyungwan nam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6153) keepContainer does not work when AM retry window is set
Date Thu, 02 Mar 2017 12:00:51 GMT

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

kyungwan nam commented on YARN-6153:

why I didn’t face the problem above 1 problem in the hadoop-trunk?
It is not intended, but there is already Thread.sleep code to sleep 15 seconds in the hadoop-trunk.

//Wait to make sure attempt1 be removed in State Store
//TODO explore a better way than sleeping for a while (YARN-4929)
Thread.sleep(15 * 1000);

> keepContainer does not work when AM retry window is set
> -------------------------------------------------------
>                 Key: YARN-6153
>                 URL: https://issues.apache.org/jira/browse/YARN-6153
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.7.1
>            Reporter: kyungwan nam
>            Assignee: kyungwan nam
>             Fix For: 2.8.0, 3.0.0-alpha3
>         Attachments: YARN-6153.001.patch, YARN-6153.002.patch, YARN-6153.003.patch, YARN-6153.004.patch,
YARN-6153.005.patch, YARN-6153.006.patch, YARN-6153-branch-2.8.patch
> yarn.resourcemanager.am.max-attempts has been configured to 2 in my cluster.
> I submitted a YARN application (slider app) that keepContainers=true, attemptFailuresValidityInterval=300000.
> it did work properly when AM was failed firstly.
> all containers launched by previous AM were resynced with new AM (attempt2) without killing
> after 10 minutes, I thought AM failure count was reset by attemptFailuresValidityInterval
(5 minutes).
> but, all containers were killed when AM was failed secondly. (new AM attempt3 was launched

This message was sent by Atlassian JIRA

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

View raw message