You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2015/03/16 21:08:40 UTC

[jira] [Commented] (MAPREDUCE-5556) mapred docs have incorrect classpath

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363812#comment-14363812 ] 

Harsh J commented on MAPREDUCE-5556:
------------------------------------

Per http://hadoop.apache.org/docs/stable1/mapred_tutorial.html#Usage:

{code}$ javac -classpath ${HADOOP_HOME}/hadoop-${HADOOP_VERSION}-core.jar -d wordcount_classes WordCount.java{code}

This appears syntactically correct, but the filename is likely to be hadoop-core-${HADOOP_VERSION}.jar instead of that.

Or were you reporting an ease of use issue [~aw]? If it was just the above, +1 to making and committing that trivial change.

The newer docs use the java tools jar compiler class via the {{hadoop}} command.

> mapred docs have incorrect classpath
> ------------------------------------
>
>                 Key: MAPREDUCE-5556
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5556
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Allen Wittenauer
>            Priority: Trivial
>              Labels: newbie
>
> http://hadoop.apache.org/docs/stable/mapred_tutorial.html
> The classpath for javac under the "Usage" section is incorrect.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)