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

kartheek muthyala edited comment on YARN-7240 at 9/24/17 4:55 PM:
------------------------------------------------------------------

Attaching the initial version of the patch with the following changes:
1. Adding a new UPDATE_CONTAINER_TOKEN state to the ContainerImpl class.
2. Splitting REINITALIZING to REINITIALIZING and  REINITIALIZING_AWAITING_KILL 

[~asuresh], please review this initial patch and let me know incase if there 
are any further changes.


was (Author: kartheek):
Attaching the initial version of the patch with the following changes:
1. Adding a new UPDATE_CONTAINER_TOKEN state to the ContainerImpl class.
2. Renaming UpdateContainerSchedulerEvent to UpdateContainerTokenEvent
3. Splitting REINITALIZING to REINITIALIZING and  REINITIALIZING_AWAITING_KILL 

[~asuresh], please review this initial patch and let me know incase if there 
are any further changes.

> Add more states and transitions to stabilize the NM Container state machine
> ---------------------------------------------------------------------------
>
>                 Key: YARN-7240
>                 URL: https://issues.apache.org/jira/browse/YARN-7240
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Arun Suresh
>            Assignee: kartheek muthyala
>         Attachments: YARN-7240.001.patch
>
>
> There seem to be a few intermediate states that can be added to improve the 
> stability of the NM container state machine.
> For. eg:
> * The REINITIALIZING should probably be split into REINITIALIZING and 
> REINITIALIZING_AWAITING_KILL. 
> * Container updates are currently handled in the ContainerScheduler, but it 
> would probably be better to have it plumbed through the container state 
> machine as a new state, say UPDATING and a new container event.
> The plan is to add some extra tests too to try and test every transition.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to