[
https://issues.apache.org/jira/browse/MAPREDUCE-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926044#action_12926044
]
Hudson commented on MAPREDUCE-1772:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See
[https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/])
> Hadoop streaming doc should not use IdentityMapper as an example
> ----------------------------------------------------------------
>
> Key: MAPREDUCE-1772
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1772
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/streaming, documentation
> Reporter: Marco Nicosia
> Assignee: Amareshwari Sriramadasu
> Priority: Minor
> Fix For: 0.22.0
>
> Attachments: patch-1772-1.txt, patch-1772-2.txt, patch-1772.txt
>
>
> From the URL http://hadoop.apache.org/core/docs/current/streaming.html
> This example doesn't work:
> {quote}
> You can supply a Java class as the mapper and/or the reducer. The above
> example is equivalent to:
> $HADOOP_HOME/bin/hadoop jar $HADOOP_HOME/hadoop-streaming.jar \
> -input myInputDirs \
> -output myOutputDir \
> -mapper org.apache.hadoop.mapred.lib.IdentityMapper \
> -reducer /bin/wc
> {quote}
> This will produce the following exception:
> {quote}
> java.io.IOException: Type mismatch in key from map: expected
> org.apache.hadoop.io.Text, recieved org.apache.hadoop.io.LongWritable
> {quote}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.