Creating a table using the HBase Java API
All HBase shell operations, have a corresponding Java object / method
3 Step Process :
Specify the table name and column families
Connect to HBase
Create the table
USE HTableDescriptor Class to specify the tablename and column families
USE Connection Class to connect to database
USE HBaseAdmin Class to create table
USE addFamily Method to add col families
Specify col families with HColumnDescriptor
configuration object created with HBaseConfiguration
connection object can provide an instance of HBaseAdmin
HbaseAdmin Class contain all methods for all operations (create,delete table)
can u share the code please