Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Sam Pullara sends me:
Phu was going through the WordCount example... lines 52 and 53 should have args[0] and args[1]: http://lucene.apache.org/hadoop/docs/current/mapred_tutorial.html The javac and jar command are also wrong, they don't include the directories for the packages, should be: $ javac -classpath ${HADOOP_HOME}/hadoop-${HADOOP_VERSION}-core.jar -d classes WordCount.java $ jar -cvf /usr/joe/wordcount.jar WordCount.class -C classes .