[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646867#comment-13646867
 ] 

Zhijie Shen commented on MAPREDUCE-5160:
----------------------------------------

The issue seems to be gone given the patch of MAPREDUCE-5159 is applied. Will 
close this ticket when MAPREDUCE-5159 is fixed.
                
> 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
>
> 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

Reply via email to