[ https://issues.apache.org/jira/browse/YARN-5015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275949#comment-15275949 ]
Jun Gong commented on YARN-5015: -------------------------------- Attach a patch to add failure validity interval for container relaunch. If we unify AM restart and container restart, it seems we need modify proto for *ApplicationSubmissionContextProto*: move *maxAppAttempts* and *attempt_failures_validity_interval* to *ContainerRetryContextProto* which is inside *ContainerLaunchContextProto*. And we need to specify AM container retry context. They will be incompatible change. Will it be a problem? > Unify restart policies across AM and container restarts > ------------------------------------------------------- > > Key: YARN-5015 > URL: https://issues.apache.org/jira/browse/YARN-5015 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Varun Vasudev > Assignee: Jun Gong > Attachments: YARN-5015.01.patch > > > We support AM restart and container restarts - however the two have slightly > different capabilities. We should unify them. There's no reason for them to > be different. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org