Tao Jie created MAPREDUCE-6986:
----------------------------------

             Summary: 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
            Reporter: Tao Jie
            Assignee: Tao Jie
            Priority: Trivial


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to