hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DeepakVohra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9697) Mapper example
Date Wed, 03 Jul 2013 14:32:21 GMT
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 

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."
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

View raw message