hbase基础操作_01

创建一张表

如下 

  create 'anle_test','info'

其中 'anle_test' 为表名  

'info' 为列蔟

list 命令 查看所有的表

scan 'test'  scan 命令为 查看test 表的信息

put 插入命令  put 'anle_test' ,'0001','info:username','tom'

其中 0001 为 rowkey 其中info:username 为列名  'tom' 为值

is_enable 为 查看某张表是否可用

describe 为 将某张表禁用,(删除表的时候,必须先禁用这张表,然后使用dorp删除表)

猜你喜欢

转载自www.cnblogs.com/2019huha/p/11872000.html
今日推荐