hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4251) API Incompatibility - Sampler
Date Fri, 11 May 2012 23:27:50 GMT
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


View raw message