[
https://issues.apache.org/jira/browse/YARN-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Naganarasimha G R updated YARN-2729:
------------------------------------
Attachment: YARN-2729.20150925-1.patch
Hi [~wangda] & [~rohithsharma],
Please find the attached patch with the offline discussed modifications
{quote}
*For Config :*
Currently we are supporting configuration param :
"yarn.nodemanager.node-labels.provider.configured-node-labels"
so instead can we have = >
yarn.nodemanager.node-labels.provider.configured-node-partition which accepts
only single partition and in future we can add
yarn.nodemanager.node-labels.provider.configured-node-constraints which can
support multiple constraints
*For Script :*
Currently in the patch i am searching for lines starting with "NODE_LABELS:" in
script output and labels separated by "," though we currently support only a
single Partition per node.
So my suggestion we can currently support for parsing lines starting with
"NODE_PARTITION:" and send the string following this pattern as Node Label.
Later in future we can support for "NODE_CONSTRAINTS:" and accept multiple
constraints for it.
{quote}
> Support script based NodeLabelsProvider Interface in Distributed Node Label
> Configuration Setup
> -----------------------------------------------------------------------------------------------
>
> Key: YARN-2729
> URL: https://issues.apache.org/jira/browse/YARN-2729
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: nodemanager
> Reporter: Naganarasimha G R
> Assignee: Naganarasimha G R
> Attachments: YARN-2729.20141023-1.patch, YARN-2729.20141024-1.patch,
> YARN-2729.20141031-1.patch, YARN-2729.20141120-1.patch,
> YARN-2729.20141210-1.patch, YARN-2729.20150309-1.patch,
> YARN-2729.20150322-1.patch, YARN-2729.20150401-1.patch,
> YARN-2729.20150402-1.patch, YARN-2729.20150404-1.patch,
> YARN-2729.20150517-1.patch, YARN-2729.20150830-1.patch,
> YARN-2729.20150925-1.patch
>
>
> Support script based NodeLabelsProvider Interface in Distributed Node Label
> Configuration Setup .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)