[ https://issues.apache.org/jira/browse/YARN-3244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14377098#comment-14377098 ]
Xuan Gong commented on YARN-3244: --------------------------------- Created a new object named CleanupContainer which includes launch-context for cleanup container and maxCleanupContainerAttempts. Also, add two global yarn configurations: RM_CLEAN_UP_CONTAINER_TIMEOUT_MS and RM_CLEAN_UP_CONTAINER_MAX_ATTEMPTS > Add user specified information for clean-up container in > ApplicationSubmissionContext > ------------------------------------------------------------------------------------- > > Key: YARN-3244 > URL: https://issues.apache.org/jira/browse/YARN-3244 > Project: Hadoop YARN > Issue Type: Sub-task > Components: api > Reporter: Xuan Gong > Assignee: Xuan Gong > Attachments: YARN-3244.1.patch, YARN-3244.2.patch > > > To launch user-specified clean up container, users need to provide proper > informations to YARN. > It should at least have following properties: > * A flag to indicate whether needs to launch the clean-up container > * A time-out period to indicate how long the clean-up container can run > * maxRetry times > * containerLaunchContext for clean-up container -- This message was sent by Atlassian JIRA (v6.3.4#6332)