[ 
https://issues.apache.org/jira/browse/TEZ-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946778#comment-13946778
 ] 

Hitesh Shah commented on TEZ-976:
---------------------------------

bq. +    if ((otherArgs.length%2) != 0) {

Does wordcount support multiple pairs of inputs/outputs. 

Also, the conf object created using the -Dparams is completely ignored. That 
seems wrong. 

> 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)

Reply via email to