Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is blocked by
-
MAPREDUCE-5159 Aggregatewordcount and aggregatewordhist in hadoop-1 examples are not binary compatible with hadoop-2 mapred.lib.aggregate
- Closed
- is duplicated by
-
MAPREDUCE-5159 Aggregatewordcount and aggregatewordhist in hadoop-1 examples are not binary compatible with hadoop-2 mapred.lib.aggregate
- Closed
- relates to
-
MAPREDUCE-5159 Aggregatewordcount and aggregatewordhist in hadoop-1 examples are not binary compatible with hadoop-2 mapred.lib.aggregate
- Closed