You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2014/03/25 23:51:15 UTC
[jira] [Updated] (TEZ-976) WordCount example does not handle -D
arguments
[ https://issues.apache.org/jira/browse/TEZ-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitesh Shah updated TEZ-976:
----------------------------
Summary: WordCount example does not handle -D arguments (was: WordCount example includes map-reduce argument into input/output dir argument.)
> WordCount example does not handle -D arguments
> ----------------------------------------------
>
> Key: TEZ-976
> URL: https://issues.apache.org/jira/browse/TEZ-976
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Tassapol Athiapinya
> Assignee: Tassapol Athiapinya
> Attachments: TEZ-976.2.patch, TEZ-976.patch
>
>
> /usr/lib/hadoop/bin/hadoop jar /usr/lib/tez/tez-mapreduce-examples-*.jar wordcount "-Dmapreduce.framework.name=yarn" /mydir1/RTW /mydir2
> Usage: wordcount <in1> <out1>
> The reason is its code does not ignore hadoop/MR argument.
> {code}
> public static void main(String[] args) throws Exception {
> if ((args.length%2) != 0) {
> printUsage();
> System.exit(2);
> }
> WordCount job = new WordCount();
> job.run(args[0], args[1], null);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)