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 111B27FB4 for ; Thu, 17 Nov 2011 20:52:15 +0000 (UTC) Received: (qmail 43436 invoked by uid 500); 17 Nov 2011 20:52:14 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 43411 invoked by uid 500); 17 Nov 2011 20:52:14 -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 43403 invoked by uid 99); 17 Nov 2011 20:52:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2011 20:52:14 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Thu, 17 Nov 2011 20:52:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7FE278BB32 for ; Thu, 17 Nov 2011 20:51:51 +0000 (UTC) Date: Thu, 17 Nov 2011 20:51:51 +0000 (UTC) From: "Ahmed Radwan (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <590104525.40040.1321563111525.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1739804292.1957.1318359311867.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-3169) Create a new MiniMRCluster equivalent which only provides client APIs cross MR1 and MR2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152309#comment-13152309 ] Ahmed Radwan commented on MAPREDUCE-3169: ----------------------------------------- I agree, this is how old tests can work with almost none or very minor changes. Thanks Arun & Tucu! > Create a new MiniMRCluster equivalent which only provides client APIs cross MR1 and MR2 > --------------------------------------------------------------------------------------- > > Key: MAPREDUCE-3169 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3169 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: mrv1, mrv2, test > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Ahmed Radwan > Attachments: MAPREDUCE-3169-0.20-security.patch, MAPREDUCE-3169-0.20-security_rev2.patch, MAPREDUCE-3169-truck.patch, MAPREDUCE-3169-trunk_rev2.patch, MAPREDUCE-3169-trunk_rev3.patch > > > Many dependent projects like HBase, Hive, Pig, etc, depend on MiniMRCluster for writing tests. Many users do as well. MiniMRCluster, however, exposes MR implementation details like the existence of TaskTrackers, JobTrackers, etc, since it was used by MR1 for testing the server implementations as well. > This JIRA is to create a new interface which could be implemented either by MR1 or MR2 that exposes only the client-side portions of the MR framework. Ideally it would be "recompile-compatible" with MiniMRCluster for most applications, and the MR1 implementation could be backported to 20x branch. Thus, dependent projects like HBase could migrate to this implementation and test against both MR1 and MR2. We can also use this to port over the current functional tests that use only the client-side features of MiniMRCluster. -- 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