[ https://issues.apache.org/jira/browse/MAPREDUCE-4251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhijie Shen resolved MAPREDUCE-4251. ------------------------------------ Resolution: Duplicate It duplicates MAPREDUCE-5157. Reopen it if it is needed for 22 also. > API Incompatibility - Sampler > ----------------------------- > > Key: MAPREDUCE-4251 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4251 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: mrv1 > Affects Versions: 0.22.0 > Reporter: Benoy Antony > Assignee: Benoy Antony > Priority: Minor > Attachments: MAPREDUCE-4251.patch > > > 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. -- 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