1、打开Hbase shell
hadoop@ubuntu:/usr$ hbase shell
2、查询表List
hbase(main):001:0> list
3、查询HBase版本。
hbase(main):010:0> version
现在所在的Hbase的版本号为:1.2.0-cdh5.7.0
4、查询服务器状态
hbase(main):010:0> status
5、查询表的数据
hbase(main):010:0> scan 'db:tablename' ---db:tablename 是表名
转载:https://www.cnblogs.com/simple-focus/p/6198329.html
实操:
1. 使用Hbase shell操作界面
hbase shell
2.查看某个表的某行数据
get 'db:tableName','object_key'
3. 查看某个表中的所有数据