Thursday, January 19, 2012

How to create and drop table from hbase shell

Logon to hbase shell
hbase shell 

Create a table 'referrer' with 2 column families 'details' and 'stats'
create 'referrer', 'details','stats'

List the table
list

Drop the table
disable 'referrer'
drop 'referrer'




No comments:

Post a Comment