[
https://issues.apache.org/jira/browse/MAPREDUCE-6304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525326#comment-14525326
]
Naganarasimha G R commented on MAPREDUCE-6304:
----------------------------------------------
Thanks for reviewing [~wangda],
bq. If specify label="" in mapred-default.xml, which means the job will always
set label="" .... So I suggest to change the default to be "NOT SPECIFIED"
(which is not a valid label since it contains space) as default value, and we
will replace it by null.
Good catch, but AFAIK we need not do so much handling and if we just remove
{{<value></value>}} in mapred-default.xml then the value will be taken as null
by xml parser in the Configuration class. while i am testing in the multi node
cluster will verify this and then update the patch.
bq. could you deploy a few nodes cluster, with 2-3 labels, and run MR job with
am.label, mapper.label, reducer.label, etc. that will be very important to make
sure everything works well.
Will try to get this tested on monday ( currenty only left with laptop :) ).
Test case failures doesn't seem to be related to the patch based on logs.
> Specifying node labels when submitting MR jobs
> ----------------------------------------------
>
> Key: MAPREDUCE-6304
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6304
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Reporter: Jian Fang
> Assignee: Naganarasimha G R
> Fix For: 2.8.0
>
> Attachments: MAPREDUCE-6304.20150410-1.patch,
> MAPREDUCE-6304.20150411-1.patch, MAPREDUCE-6304.20150501-1.patch
>
>
> Per the discussion on YARN-796, we need a mechanism in MAPREDUCE to specify
> node labels when submitting MR jobs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)