今天在安装kylin时突然出现了这样一个错误
hbase(main):001:0> list
TABLE
ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2268)
at org.apache.hadoop.hbase.master.MasterRpcServices.getTableNames(MasterRpcServices.java:899)
at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:55650)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2180)
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:748)
Here is some help for this command:
List all tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:
hbase> list
hbase> list 'abc.*'
hbase> list 'ns:abc.*'
hbase> list 'ns:.*'
本来hbase是没有问题的,检查了很多地方,没有发现有什么配置上的问题,我可能是本glibc的更新整的有点懵了,今天碰到了很多linux的异常,搞得我有点懵逼,结果这里又来搞我,因为我之前每个机器是配好了时间同步的,所以呢也没往这里去想,hadoop集群也没报时间不同步的异常。最终找了很多的资料,没有结果。所以就干脆不找了,开始从开始配置-》zookeeper-》hbase发现都没有问题,我确信。于是我突然想了一下难道是因为linux更新了底层库的原因时间不同步了,果然date命令一查,时间确实不同,把时间同步了重启解决问题。
hbase(main):001:0> list
TABLE
0 row(s) in 0.3950 seconds
=> []
hbase(main):002:0>
在安装kylin过程中遇到Hbase异常'Master is initializing',排除配置问题后,发现因Linux系统时间不同步导致。同步时间并重启后,问题得到解决。
7480

被折叠的 条评论
为什么被折叠?



