You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "kartheek muthyala (JIRA)" <ji...@apache.org> on 2017/09/24 16:29:00 UTC

[jira] [Updated] (YARN-7240) Add more states and transitions to stabilize the NM Container state machine

     [ https://issues.apache.org/jira/browse/YARN-7240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kartheek muthyala updated YARN-7240:
------------------------------------
    Attachment: YARN-7240.001.patch

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org