hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-4010) HMaster.createTable could be heavily optimized
Date Mon, 20 Jun 2011 22:08:47 GMT
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
             Fix For: 0.92.0

Looking at the createTable method in HMaster (the one that's private), we seem to be very

 - 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


View raw message