Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5892164AC for ; Wed, 22 Jun 2011 06:52:23 +0000 (UTC) Received: (qmail 58276 invoked by uid 500); 22 Jun 2011 06:52:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 57063 invoked by uid 500); 22 Jun 2011 06:52:14 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 57046 invoked by uid 99); 22 Jun 2011 06:52:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2011 06:52:11 +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, 22 Jun 2011 06:52:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A90594285F7 for ; Wed, 22 Jun 2011 06:51:47 +0000 (UTC) Date: Wed, 22 Jun 2011 06:51:47 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <168524007.27539.1308725507688.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2139858017.22694.1308607727475.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4010) HMaster.createTable could be heavily optimized 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/HBASE-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053076#comment-13053076 ] Ted Yu commented on HBASE-4010: ------------------------------- I ran test suite. The failed tests were: TestFSTableDescriptors and TestMergeTable TestTableMapReduce hung. These were consistent with results of build 1980. Committed to TRUNK. Thanks Stack for the review, J-D for the initiative. > HMaster.createTable could be heavily optimized > ---------------------------------------------- > > Key: HBASE-4010 > URL: https://issues.apache.org/jira/browse/HBASE-4010 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.3 > Reporter: Jean-Daniel Cryans > Assignee: Ted Yu > Fix For: 0.92.0 > > Attachments: 4010-v2.txt, 4010-v3.txt, 4010-v5.txt > > > Looking at the createTable method in HMaster (the one that's private), we seem to be very inefficient: > - We set the enabled flag for the table for every region (should be done only once). > - Every time we create a new region we create a new HLog and then close it (reuse one instead or see if it's really necessary). > - We do one RPC to .META. per region (we should batch put). > This should provide drastic speedups even for those creating tables with just 50 regions. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira