[ https://issues.apache.org/jira/browse/HADOOP-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558522#action_12558522 ]
Amar Kamat commented on HADOOP-2574: ------------------------------------ +1. I tried running the wordcount-v2 line by line and now it works fine. Just a small suggestions, in the last example of wordcount v2 (case sensitive = true/false), could you make the distinction evident by having {{Hello}} and {{hello}} in the input file. > 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 > Assignee: Arun C Murthy > Fix For: 0.15.3, 0.16.0 > > Attachments: HADOOP-2574_0_20080110.patch, mapred_tutorial.html > > > 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.