[
https://issues.apache.org/jira/browse/HADOOP-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558893#action_12558893
]
Phu Hoang commented on HADOOP-2574:
-----------------------------------
Arun,
the tutorial addresses all the bugs that I encountered. Great job!!
I was not able to detect that you resolved the smaller confusion (not
show stopper) of whether these examples work if you were in stand-
alone mode or not.
I was able to run WordCount v1.0 using local input and output
directories (not HDFS). I was NOT able to run WordCount v2.0 using
local input and output directories, only HDFS input and output
directories work there. It would be good to set the reader's
expectation.
I could see people trying the examples out without doing HDFS first,
and may run into issues with WordCount v2.0.
Phu
> 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
>
> Attachments: HADOOP-2574_0_20080110.patch,
> HADOOP-2574_1_20080114.patch, mapred_tutorial.html, 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.