12/12/20 08:34:02 WARN conf.Configuration: hadoop.native.lib is deprecated. Instead, use io.native.lib.available HBase Shell; enter 'help' for list of supported commands. Type "exit" to leave the HBase Shell Version 0.92.1-cdh4.1.2, rUnknown, Thu Nov 1 18:03:50 PDT 2012 hbase(main):001:0> create 'cftable', {NAME => 'cf1'}, {NAME => 'cf2'} 0 row(s) in 1.4690 seconds hbase(main):002:0> put 'cftable', 'therow', 'cf1:a', 'value1' 0 row(s) in 0.0540 seconds hbase(main):003:0> put 'cftable', 'therow', 'cf2:b', 'value2' 0 row(s) in 0.0050 seconds hbase(main):004:0> scan 'cftable' ROW COLUMN+CELL therow column=cf1:a, timestamp=1355988977452, value=value1 therow column=cf2:b, timestamp=1355988986129, value=value2 1 row(s) in 0.0360 seconds hbase(main):005:0> disable 'cftable' 0 row(s) in 2.1370 seconds hbase(main):006:0> alter 'cftable', {NAME => 'cf2', METHOD => 'delete'} Updating all regions with the new schema... 1/1 regions updated. Done. 0 row(s) in 1.4340 seconds hbase(main):007:0> enable 'cftable' 0 row(s) in 2.1200 seconds hbase(main):008:0> flush 'cftable' 0 row(s) in 0.1130 seconds hbase(main):009:0> major_compact 'cftable' 0 row(s) in 0.1100 seconds hbase(main):010:0> scan 'cftable' ROW COLUMN+CELL therow column=cf1:a, timestamp=1355988977452, value=value1 1 row(s) in 0.0140 seconds hbase(main):011:0> disable 'cftable' 0 row(s) in 2.1580 seconds hbase(main):012:0> alter 'cftable', {NAME => 'cf2'} Updating all regions with the new schema... 1/1 regions updated. Done. 0 row(s) in 1.4380 seconds hbase(main):013:0> enable 'cftable' 0 row(s) in 2.1230 seconds hbase(main):014:0> scan 'cftable' ROW COLUMN+CELL therow column=cf1:a, timestamp=1355988977452, value=value1 therow column=cf2:b, timestamp=1355988986129, value=value2 1 row(s) in 1.0300 seconds