[
https://issues.apache.org/jira/browse/MAPREDUCE-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhijie Shen resolved MAPREDUCE-5160.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.5-beta
The issue is fixed with MAPREDUCE-5159.
> Aggregatewordcount and aggregatewordhist in hadoop-1 examples can not find
> their inner classes when running on Yarn
> -------------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-5160
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5160
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Reporter: Zhijie Shen
> Assignee: Zhijie Shen
> Fix For: 2.0.5-beta
>
>
> Aggregatewordcount and Aggregatewordhist of hadoop-1 cannot run on hadoop-2
> due to
> org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob.createValueAggregatorJob(String
> args[], Class<?> caller) is not available on hadoop-2 (see MAPREDUCE-5159).
> After I changed Aggregatewordcount and Aggregatewordhist to use
> createValueAggregatorJob(String args[], Class<? extends
> ValueAggregatorDescriptor>[] descriptors), which is available on hadoop-2,
> the two examples could be accepted and run on Yarn.
> However, the two examples still failed, because their inner classes,
> WordCountPlugInClass and AggregateWordHistogramPlugin, cannot be found in
> runtime, respectively. Both the plugin classes extend
> org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorBaseDescriptor.
--
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