[
https://issues.apache.org/jira/browse/YARN-5390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406683#comment-15406683
]
Wangda Tan commented on YARN-5390:
----------------------------------
Thanks [~ellenfkh],
I don't have strong opinions about using non-static or static, it totally
depends on how it will be used. If lots of modules will use it, static class
could be a better choice, if only limited modules will use it, and they're all
related to federation, keep it non-static and can be get from FederationContext
will be also good.
For general purpose of this JIRA, the patch looks fine. I hope someone who is
more familiar with federation code could take a deeper look at this patch. cc:
[~subru] / [~curino].
> Federation Subcluster Resolver
> ------------------------------
>
> Key: YARN-5390
> URL: https://issues.apache.org/jira/browse/YARN-5390
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: nodemanager, resourcemanager
> Reporter: Carlo Curino
> Assignee: Ellen Hui
> Attachments: YARN-5390-YARN-2915.v0.patch,
> YARN-5390-YARN-2915.v1.patch, YARN-5390-YARN-2915.v2.patch
>
>
> This JIRA tracks effort to create a mechanism to resolve nodes/racks resource
> names to sub-cluster identifiers. This is needed by the federation policies
> in YARN-5323, YARN-5324, YARN-5325 to operate correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]