You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "DeepakVohra (JIRA)" <ji...@apache.org> on 2013/07/03 16:32:21 UTC
[jira] [Created] (HADOOP-9697) Mapper example
DeepakVohra created HADOOP-9697:
-----------------------------------
Summary: Mapper example
Key: HADOOP-9697
URL: https://issues.apache.org/jira/browse/HADOOP-9697
Project: Hadoop Common
Issue Type: Bug
Reporter: DeepakVohra
Priority: Minor
The org.apache.hadoop.mapreduce
Class Mapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
has an example with
public void map(Object key, Text value, Context context)
But, "Any type which is to be used as a key in the Hadoop Map-Reduce framework should implement this interface."
org.apache.hadoop.io
Interface WritableComparable<T>
The example has Object for key type. Object doesn't implement WritableComparable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira