*Hbase命令

来源:互联网 发布:图形矢量化软件 编辑:程序博客网 时间:2024/05/31 19:01

帮助命令

·hbase(main):051:0> help #查看所有帮助
·hbase(main):007:0> help ‘COMMAND’ #查看指定命令帮助
·hbase(main):008:0> help ‘COMMAND_GROUP’
COMMAND GROUPS:
Group name
Commands
Instance
Detail
general
status, version, whoami

ddl(数据定义语言)

alter, alter_async, alter_status, create, describe, disable, disable_all, drop, drop_all, enable, enable_all, exists, is_disabled, is_enabled, list, show_filters

dml(数据操作语言)

count, delete, deleteall, get, get_counter, incr, put, scan, truncate

tools

assign, balance_switch, balancer, close_region, compact, flush, hlog_roll, major_compact, move, split, unassign, zk_dump

replication

add_peer, disable_peer, enable_peer, list_peers, remove_peer, start_replication, stop_replication

security

grant, revoke, user_permission

·二进制的使用双引号,其他单引号
hbase> get ‘t1’, “key\x03\x3f\xcd”

0 0