[ https://issues.apache.org/jira/browse/YARN-8044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403756#comment-16403756 ]
Shane Kumpf commented on YARN-8044: ----------------------------------- {{ContainerRetryPolicy}} doesn't really provide a way to do this today. {{RETRY_ON_SPECIFIC_ERROR_CODES}} is likely too restrictive as -1 may be the only one where a hard fail makes sense. Adding {{FAIL_ON_SPECIFIC_ERROR_CODES}} support may make sense. > Determine the appropriate default ContainerRetryPolicy > ------------------------------------------------------ > > Key: YARN-8044 > URL: https://issues.apache.org/jira/browse/YARN-8044 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Shane Kumpf > Priority: Major > > {{AbstractLauncher}} sets the retry policy to {{RETRY_ON_ALL_ERRORS}}, which > may be too inclusive. Some error codes, such as -1, should likely result in a > hard fail. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org