Hbase 启动报错 class org.apache.hadoop.hbase.master.HMaster

ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attempts 
ERROR [main] master.HMasterCommandLine: Master exiting 
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster 
        at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2785) 
        at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:184)
        at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:134)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) 
        at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126) 
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2799) 
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase 
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) 
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) 
        at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783) 
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:489)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:468)
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1235) 
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1213) 
        at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:174)
        at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:167) 
        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:473) 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 
        at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2780) 
        ... 5 more 
系统是centos6.5  Hbase 0.96.2 hadoop 2.2 zookeeper 3.4.6 
全部是集群安装,hadoop和zookeeper都能正确启动,就Hbase启动报上述错误,纠结了几天了,也没找出原因!
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值