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 DE4B27472 for ; Tue, 1 Nov 2011 18:01:56 +0000 (UTC) Received: (qmail 89875 invoked by uid 500); 1 Nov 2011 18:01:56 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 89784 invoked by uid 500); 1 Nov 2011 18:01:56 -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 89627 invoked by uid 99); 1 Nov 2011 18:01:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 18:01:56 +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; Tue, 01 Nov 2011 18:01:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8C36532C91B for ; Tue, 1 Nov 2011 18:01:35 +0000 (UTC) Date: Tue, 1 Nov 2011 18:01:35 +0000 (UTC) From: "Ahmed Radwan (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <268498889.46746.1320170495575.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 [ https://issues.apache.org/jira/browse/MAPREDUCE-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141402#comment-13141402 ] Ahmed Radwan commented on MAPREDUCE-3169: ----------------------------------------- Yes, this will be a very nice benefit. I am now going through the tests changing them to try to assess which way is better. > 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-truck.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