Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.90.3
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
HBASE-4021 Further parallelize HMaster.createTable()
- Closed
- relates to
-
HBASE-3229 Table creation, though using "async" call to master, can actually run for a while and cause RPC timeout
- Closed