You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Tassapol Athiapinya (JIRA)" <ji...@apache.org> on 2014/03/25 17:28:14 UTC
[jira] [Updated] (TEZ-976) WordCount example includes map-reduce
argument into input/output dir argument.
[ https://issues.apache.org/jira/browse/TEZ-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tassapol Athiapinya updated TEZ-976:
------------------------------------
Attachment: TEZ-976.patch
> WordCount example includes map-reduce argument into input/output dir argument.
> ------------------------------------------------------------------------------
>
> 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.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)