Thursday, January 19, 2012

How to enter data in Hbase table and view them using the Hbase Shell

Following command inserts value 'www.yahoo.com' into Hbase table 'referrer' for row 'z1', column family 'details' and column 'url'
put 'referrer','z1','details:url','www.yahoo.com'

The following command lets you view data for row 'z1'
get 'referrer','z1'

No comments:

Post a Comment