Hi I am trying to setup node and test the word count and I have a problem with last few steps.
after I pack classes in the jar and follow to the next step Assuming that: /home/ahudic/wordcount/input - input directory in HDFS /home/ahudic/wordcount/output - output directory in HDFS Sample text-files as input: $ bin/hadoop dfs -ls /home/ahudic/wordcount/input/ /home/ahudic/wordcount/input/file01 /home/ahudic/wordcount/input/file02 I get this error: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.cli.OptionBuilder.withArgPattern(Ljava/lang/String;I)Lorg/apache/commons/cli/OptionBuilder; at org.apache.hadoop.util.GenericOptionsParser.buildGeneralOptions(GenericOptionsParser.java:181) at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:341) at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:136) at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:121) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:59) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.fs.FsShell.main(FsShell.java:1854) -- * * *Mit freundlichen **Grüßen** / With kind regards* * * *Aleksandar Hudić, MSc aleksandar.hu...@gmail.com Mobile: +43 680 3303 660 **** **+385 98 871 710 ** * **