版本: hadoop 2.7.0
[mw_shl_code=bash,true][hadoop@master bin]$ jps
37168 HMaster
36387 ResourceManager
37637 Jps
37048 HQuorumPeer
36201 SecondaryNameNode
37485 Main
35949 NameNode
[/mw_shl_code]
[mw_shl_code=bash,true][hadoop@slave1 data]$ jps
2096 HRegionServer
20833 DataNode
1940 HQuorumPeer
2346 Jps
20970 NodeManager[/mw_shl_code]
在Master执行Hbase shell 进入之后,执行简单的status 或者 List 命令报错如下:
[mw_shl_code=bash,true]hbase(main):001:0> status
ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2293)
at org.apache.hadoop.hbase.master.MasterRpcServices.getClusterStatus(MasterRpcServices.java:777)
at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:55652)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2178)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)
at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
at java.lang.Thread.run(Thread.java:745)
Here is some help for this command:
Show cluster status. Can be 'summary', 'simple', 'detailed', or 'replication'. The
default is 'summary'. Examples:
hbase> status
hbase> status 'simple'
hbase> status 'summary'
hbase> status 'detailed'
hbase> status 'replication'
hbase> status 'replication', 'source'
hbase> status 'replication', 'sink'[/mw_shl_code]
各位同仁 有没有遇到过类似问题的?感谢
|