hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-6251) Incorrect sample code in javadoc for org.apache.hadoop.mapreduce.Mapper
Date Sun, 12 Jun 2011 15:15:03 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harsh J resolved HADOOP-6251.
-----------------------------

    Resolution: Duplicate

Already fixed in MAPREDUCE-1407.

This issue duplicates MAPREDUCE-1407

> Incorrect sample code in javadoc for org.apache.hadoop.mapreduce.Mapper
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-6251
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6251
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Yasuko Komiyama
>            Priority: Trivial
>
> In the javadoc description about mapreduce.Mapper class, there is an example code "TokenCounterMapper",
and it calls context.collect() in the map() method.  It should call context.write().
>   context.collect(word, one);  ---->  context.write(word, one);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message