hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: create table path in HBase
Date Tue, 04 Mar 2014 23:06:55 GMT
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


On Tue, Mar 4, 2014 at 4:16 AM, Upendra Yadav <upendra1024@gmail.com> 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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message