You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Benoy Antony (JIRA)" <ji...@apache.org> on 2012/05/12 01:27:50 UTC

[jira] [Created] (MAPREDUCE-4251) API Incompatibility - Sampler

Benoy Antony created MAPREDUCE-4251:
---------------------------------------

             Summary: API Incompatibility - Sampler
                 Key: MAPREDUCE-4251
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4251
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv1
    Affects Versions: 0.22.0
            Reporter: Benoy Antony
            Assignee: Benoy Antony
            Priority: Minor
             Fix For: 0.22.1


 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira