[ 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