hbase shell 常用命令
1.hase balance
對于自動balance來說, 只需要關注三個命令:
balance_switch true 開啟自動balance
balance_switch false 關閉自動balance
balancer_enabled 查看自動balance當前狀態
參考鏈接: https://blog.csdn.net/yuanhaiwn/article/details/82781459
2.hbase啟動腳本解析
參考鏈接: https://blog.csdn.net/anhuidelinger/article/details/8846860
3.hbase統計某張表的總數
hbase org.apache.hadoop.hbase.mapreduce.RowCounter table_name
4.查看merge和split的狀態
splitormerge_enabled 'MERGE'
splitormerge_enabled 'SPLIT'
5.修改merge和split的狀態
splitormerge_switch 'MERGE',true
splitormerge_switch 'SPLIT',true

浙公網安備 33010602011771號