Description
org.apache.hadoop.mapred.lib.InputSampler#Sampler in Hadoop 0.20 has been moved to org.apache.hadoop.mapreduce.lib.partition.InputSampler#Sampler in Hadoop 0.22
The arguments of the getSample method in the Sampler class have also been changed, 0.22 use the new InputFormat, and 0.20 use the deprecated InputFormat, 0.22 use org.apache.hadoop.mapreduce.Job and 0.20use org.apache.hadoop.mapred.JobConf.
So the programs compiled with old api has to be changed.
Attachments
Attachments
Issue Links
- is duplicated by
-
MAPREDUCE-5157 Sort in hadoop-1 examples is not binary compatible with hadoop-2 mapred.lib
- Closed