To understand table creation process, digging into code base would help.
You can start with this method in HBaseAdmin:
public void createTable(HTableDescriptor desc)
And this method in the HMaster:
public void createTable(HTableDescriptor hTableDescriptor,
byte [][] splitKeys)
which would lead
to
hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/CreateTableHandler.java
Cheers
On Tue, Mar 4, 2014 at 4:16 AM, Upendra Yadav <[email protected]> wrote:
> How client initiate create new table.
>
> For existing table it will communicate to zookeeper and get -ROOT-/.META.
> table Region server location. And then get region server location for user
> table. and so on...
>
> But in case of create new table. How it happen.
>
> Not only "create table" but for all DDL type of operation how client able
> to complete successfully.
>