[
https://issues.apache.org/jira/browse/YARN-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802423#comment-13802423
]
Cindy Li commented on YARN-671:
-------------------------------
Proposal to put a NM to maintenance:
1.Block New Container Request
2. Clean up containers after time out (configurable, by default.wait till
containers finish )
3. Stop the NM
Add state transition for maintenance
Add command to admin API, where all the refreshNodes, etc are defined.
This is useful for rolling restart NMs for minor NM upgrades. When maximum
draining time configured (time out value), it will be tolerant of killing
containers.
> Add an interface on the RM to move NMs into a maintenance state
> ---------------------------------------------------------------
>
> Key: YARN-671
> URL: https://issues.apache.org/jira/browse/YARN-671
> Project: Hadoop YARN
> Issue Type: Sub-task
> Affects Versions: 2.0.4-alpha
> Reporter: Siddharth Seth
> Assignee: Siddharth Seth
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)