Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 61620 invoked from network); 19 May 2009 17:11:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 17:11:10 -0000 Received: (qmail 92125 invoked by uid 500); 19 May 2009 17:11:09 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 92095 invoked by uid 500); 19 May 2009 17:11:09 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 92085 invoked by uid 99); 19 May 2009 17:11:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 17:11:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 17:11:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A7ABB234C1E9 for ; Tue, 19 May 2009 10:10:45 -0700 (PDT) Message-ID: <1764817619.1242753045685.JavaMail.jira@brutus> Date: Tue, 19 May 2009 10:10:45 -0700 (PDT) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-204) Provide option to run hadoop via TestMiniMR In-Reply-To: <1020240712.1230755984270.JavaMail.jira@brutus> 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/HIVE-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710799#action_12710799 ] Namit Jain commented on HIVE-204: --------------------------------- 1. I agree with the mode approach instead of another target. But we still need minimr.query.files to run the tests with the build - which tests get picked up by default. So, it is a just a cleaner way - let us talk about it offline 2. conf.set("hive.metastore.warehouse.dir", fsName.concat("/build/ql/test/data/warehouse/")); Note that a concatenation is being performed above. new MiniMRCluster() sets the configuration variable fs.default.name. > Provide option to run hadoop via TestMiniMR > ------------------------------------------- > > Key: HIVE-204 > URL: https://issues.apache.org/jira/browse/HIVE-204 > Project: Hadoop Hive > Issue Type: Improvement > Components: Testing Infrastructure > Reporter: Raghotham Murthy > Assignee: Namit Jain > Attachments: hive.204.1.patch, hive.204.2.patch, hive.204.3.patch, hive.204.4.patch, hive.204.5.patch, hive.204.6.patch > > > Right now MapRedTask does an exec on the hadoop command line. This prevents us from stepping through query execution code. If there were an option to run hadoop via MiniMR, this will create tasks within the same VM and so allows stepping into the execution code. See, src/test/org/apache/hadoop/mapred/TestMiniMRWithDFS.java in the hadoop source code for an example. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.