hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantinos Karanasos (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6059) Update paused container state in the state store
Date Sat, 11 Feb 2017 02:41:42 GMT

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

Konstantinos Karanasos commented on YARN-6059:

Thank you for the patch, [~hrsharma].
I gave a first look, here are some comments:
# The paused events are not stored in the {{NMStateStore}}. You need to add that in the {{ContainerScheduler}},
as we do for the QUEUED containers, e.g., with {{this.context.getNMStateStore().storeContainerQueued}}.
# You need to make sure that, when a PAUSED container is relaunched, we add a new entry to
the {{NMStateStore}} to mark it as RUNNING again.
# In the {{ContainersLauncher}}, I think you should add to the {{running}} containers, and
# In the {{RecoverPausedContainerLaunch}}, you should raise a ContainerEvent to indicate that
the container finished its execution, like we do with the other {{*ContainerLaunch}} classes,
with something like the following:
        new ContainerEvent(containerId,

Some first nits:
- In {{ContainerImpl}}:
-- Use same comment style as above ("try to recover a container that was previously paused");
-- Avoid the extra line.
- In {{RecoveredContainerLaunch}}, indentation needs to be fixed.

> Update paused container state in the state store
> ------------------------------------------------
>                 Key: YARN-6059
>                 URL: https://issues.apache.org/jira/browse/YARN-6059
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Hitesh Sharma
>            Assignee: Hitesh Sharma
>         Attachments: YARN-5216-YARN-6059.001.patch, YARN-6059-YARN-5972.001.patch

This message was sent by Atlassian JIRA

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

View raw message