hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Jie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6986) Fail to set job configuration by -D option in example WordMedian
Date Thu, 19 Oct 2017 08:21:00 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tao Jie updated MAPREDUCE-6986:
-------------------------------
    Status: Patch Available  (was: Open)

> 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


Mime
View raw message