[zk: localhost:2181(CONNECTED) 0] ls /
[hbase, zookeeper]
[zk: localhost:2181(CONNECTED) 4] get /hbase/meta-region-server
cZxid = 0x60
ctime = Mon Jul 23 17:30:05 CST 2018
mZxid = 0x60
mtime = Mon Jul 23 17:30:05 CST 2018
pZxid = 0x60
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 78
numChildren = 0
hbase(main):001:0> list_namespace
NAMESPACE
2018-07-23 17:54:56,778 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
default
hbase
2 row(s) in 2.5020 seconds
hbase(main):002:0> list_namespace_tables 'hbase'
TABLE
meta
namespace
2 row(s) in 0.2680 seconds
hbase(main):003:0> scan 'hbase:meta'
[zk: localhost:2181(CONNECTED) 2] ls /hbase/rs
[hadoop-senior.ibeifeng.com,60020,1533075373902]
欢迎光临 168大数据 (http://www.bi168.cn/) | Powered by Discuz! X3.2 |