You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tao Jie (JIRA)" <ji...@apache.org> on 2017/10/19 08:21:00 UTC
[jira] [Work stopped] (MAPREDUCE-6986) Fail to set job
configuration by -D option in example WordMedian
[ https://issues.apache.org/jira/browse/MAPREDUCE-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on MAPREDUCE-6986 stopped by Tao Jie.
------------------------------------------
> Fail to set job configuration by -D option in example WordMedian
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-6986
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6986
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 2.8.1
> Reporter: Tao Jie
> Assignee: Tao Jie
> Priority: Trivial
> Attachments: MAPREDUCE-6986.001.patch
>
>
> I tried to submit mr example job wordmedian and specify queue by -D option:
> {{bin/hadoop jar ~/hadoop-mapreduce-examples-2.8.2-bc1.4.0.jar wordmedian -Dmapreduce.job.queuename=root.user1 /input /output6}}. This option did not work in wordmedian while it works in other example jobs such Terasort, Wordcount.
> The cause is there is unnecessary {{setConf(new Configuration())}} in {{run()}} method, which would override Configuration with properties by -D options.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org