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-5171) Extend DistributedSchedulerProtocol to notify RM of containers allocated by the Node
Date Sat, 18 Jun 2016 01:13:05 GMT

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

Konstantinos Karanasos commented on YARN-5171:

bq. Keep the two new methods, but refactor the code, so that everybody (i.e., the existing
guranteed containers too) is using these methods when adding/removing RMContainers.
I just had a chat with [~elgoiri] and [~subru] regarding this... We have two options:
# As I suggested above, we refactor other parts of the code to use the same add/removeRMContainer
# We rename the methods {{addRMContainer}} and {{removeRMContainer}} to {{addExternalRMContainer}}
and {{removeExternalRMContainer}}, respectively, and we do no other changes.

Solution (1) is simpler. While solution (2) seems cleaner, it is not clear how easy the refactoring
will be, and if it deserves a separate JIRA.

[~jianhe], by doing a git blame, it shows that you have extensively worked on this class.
What would you suggest?

> Extend DistributedSchedulerProtocol to notify RM of containers allocated by the Node
> ------------------------------------------------------------------------------------
>                 Key: YARN-5171
>                 URL: https://issues.apache.org/jira/browse/YARN-5171
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun Suresh
>            Assignee: Inigo Goiri
>         Attachments: YARN-5171.000.patch, YARN-5171.001.patch, YARN-5171.002.patch, YARN-5171.003.patch,
YARN-5171.004.patch, YARN-5171.005.patch, YARN-5171.006.patch
> Currently, the RM does not know about Containers allocated by the OpportunisticContainerAllocator
on the NM. This JIRA proposes to extend the Distributed Scheduler request interceptor and
the protocol to notify the RM of new containers as and when they are allocated at the NM.
The {{RMContainer}} should also be extended to expose the {{ExecutionType}} of the container.

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