bugs in mapred tutorial
-----------------------

                 Key: HADOOP-2574
                 URL: https://issues.apache.org/jira/browse/HADOOP-2574
             Project: Hadoop
          Issue Type: Bug
          Components: documentation
            Reporter: Doug Cutting
             Fix For: 0.15.3, 0.16.0


Sam Pullara sends me:
{noformat}
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 .

{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to