Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 79553 invoked from network); 24 Mar 2008 17:13:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2008 17:13:31 -0000 Received: (qmail 19362 invoked by uid 500); 24 Mar 2008 17:13:27 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 19352 invoked by uid 500); 24 Mar 2008 17:13:27 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 19336 invoked by uid 99); 24 Mar 2008 17:13:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 10:13:27 -0700 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; Mon, 24 Mar 2008 17:12:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2020A234C0AD for ; Mon, 24 Mar 2008 10:11:25 -0700 (PDT) Message-ID: <778451834.1206378685130.JavaMail.jira@brutus> Date: Mon, 24 Mar 2008 10:11:25 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-536) Remove MiniDFS startup from MiniHBaseCluster In-Reply-To: <1232147798.1206058284624.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581607#action_12581607 ] stack commented on HBASE-536: ----------------------------- What is happening here: {code} @@ -38,5 +38,8 @@ public void testMergeMeta() throws IOException { assertNotNull(dfsCluster); HMerge.merge(conf, dfsCluster.getFileSystem(), HConstants.META_TABLE_NAME); + try { + Thread.sleep(10000); + } catch (Exception e) {} {code} Why the wait without an assert that awatied condition actually occurred? Convention is that method names start with lower case letters: + protected void HBaseClusterSetup() throws Exception { +1 on replacing MiniHBaseCluster(1) w/ version 2. Remove below {code} + // /** {@inheritDoc} */ + // @Override + // public void setUp() throws Exception { + // super.setUp(); + // } {code} The '\n's in the log message are silly: + LOG.debug("\n\n\n\n\t\t\tSetup Complete\n\n\n\n"); If we start to allow them, I see a degeneration adding bolding, blinking lights, etc., to make today's log message favorite the loudest I'm going to take a look at PE exception now. > Remove MiniDFS startup from MiniHBaseCluster > -------------------------------------------- > > Key: HBASE-536 > URL: https://issues.apache.org/jira/browse/HBASE-536 > Project: Hadoop HBase > Issue Type: New Feature > Components: test > Reporter: Bryan Duxbury > Assignee: Bryan Duxbury > Priority: Minor > Fix For: 0.2.0 > > Attachments: 536.patch > > > Change MiniHBaseCluster to always require a MiniDfs started elsewhere. It will decide where to read and write based on the config passed in to its constructor. > HBaseClusterTestCase will be updated to do the MiniDFS spinup and shutdown as part of its normal process. > Completing this issue will prime us for solving the truly external DFS issue for making the test suite faster. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.