hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4251) API Incompatibility - Sampler
Date Wed, 16 May 2012 22:31:07 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277211#comment-13277211
] 

Benoy Antony commented on MAPREDUCE-4251:
-----------------------------------------

Thanks for the tip and comment, Harsh. The issue applies to trunk as well. I will provide
patch for trunk soon.
                
> 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
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message