Hbase报Master is initializing的异常

在安装kylin过程中遇到Hbase异常'Master is initializing',排除配置问题后,发现因Linux系统时间不同步导致。同步时间并重启后,问题得到解决。

今天在安装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>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值