Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12AC2C094 for ; Wed, 16 May 2012 22:31:31 +0000 (UTC) Received: (qmail 57737 invoked by uid 500); 16 May 2012 22:31:30 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 57701 invoked by uid 500); 16 May 2012 22:31:30 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 57688 invoked by uid 99); 16 May 2012 22:31:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 22:31:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 22:31:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 070718C9A for ; Wed, 16 May 2012 22:31:07 +0000 (UTC) Date: Wed, 16 May 2012 22:31:07 +0000 (UTC) From: "Benoy Antony (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <58353789.6301.1337207467030.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1310048563.56787.1336778870639.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-4251) API Incompatibility - Sampler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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