天天看點

快速學習-HBase Shell操作

第3章 HBase Shell操作

進入HBase用戶端指令行

檢視幫助指令

檢視目前資料庫中有哪些表

建立表

插入資料到表

掃描檢視表資料

檢視表結構

更新指定字段的資料

檢視“指定行”或“指定列族:列”的資料

統計表資料行數

删除資料

清空表資料

删除表

首先需要先讓該表為disable狀态:

然後才能drop這個表:

提示:如果直接drop表,會報錯:ERROR: Table student is enabled. Disable it first.

變更表資訊

将info列族中的資料存放3個版本: