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 51076682E for ; Tue, 19 Jul 2011 07:28:36 +0000 (UTC) Received: (qmail 71074 invoked by uid 500); 19 Jul 2011 07:28:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70248 invoked by uid 500); 19 Jul 2011 07:28:24 -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 70211 invoked by uid 99); 19 Jul 2011 07:28:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 07:28:21 +0000 X-ASF-Spam-Status: No, hits=-2001.1 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, 19 Jul 2011 07:28:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E7A47432E9 for ; Tue, 19 Jul 2011 07:27:57 +0000 (UTC) Date: Tue, 19 Jul 2011 07:27:57 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <270114178.3120.1311060477945.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=13067553#comment-13067553 ] stack commented on HBASE-4010: ------------------------------ @Ted What lars said. We should close hbase-3503 because this issue fixes it? > 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-0.90.txt, 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