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

Zhijie Shen updated MAPREDUCE-5159:
-----------------------------------

    Attachment: MAPREDUCE-5159.1.patch

In the patch, I've added the functions that 
mapred.lib.aggregate.ValueAggregateJob has in hadoop 1.x, but it doesn't have 
in hadoop 2.x back to the class.

I've done the binary compatibility tests locally. Both aggregatewordcount and 
aggregatewordhist work without exceptions. The issue described in 
MAPREDUCE-5160 is gone as well.
                
> Aggregatewordcount and aggregatewordhist in hadoop-1 examples are not binary 
> compatible with hadoop-2 mapred.lib.aggregate
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5159
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5159
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: MAPREDUCE-5159.1.patch
>
>
> Both examples in hadoop-1 use 
> org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob.createValueAggregatorJob(String
>  args[], Class<?> caller), which no longer exists after upgrading to 
> hadoop-2. Therefore, they cannot not find the accordant function with their 
> function signature in the binary.

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

Reply via email to