Tassapol Athiapinya created TEZ-976:
---------------------------------------
Summary: 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
/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)