hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5171) Extend DistributedSchedulerProtocol to notify RM of containers allocated by the Node
Date Fri, 03 Jun 2016 08:39:59 GMT

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

Arun Suresh commented on YARN-5171:
-----------------------------------

[~elgoiri], Couple of comments,

# I don't think the {{DistSchedAllocateRequestPBImpl}} class is completely implemented. Take
a look at {{DistSchedAllocateResponsePBImpl}} to see how setters and getters for complex types
are implemented. And as to [~kkaranasos]'s comment, you can't sublass.. protobuf would complain.
# Maybe add a testcase in {{TestDistributedSchedulingService}} to see if the RPC wiring works
# You need to make the fix in the LocalScheduler (like [~kkaranasos] pointed out) : add the
containers allocated by the LocalScheduler to the request before calling {{getNextInterceptor().allocateForDistributedScheduling()}}



> 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
>
>
> 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
(v6.3.4#6332)

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


Mime
View raw message