使用外置安装的zookeeper后hbase出错;ERROR: The node /hbase is not in ZooKeeper
来源:互联网 发布:win7开机时间优化 编辑:程序博客网 时间:2024/06/10 06:43
错误信息:
2017-06-10 16:04:38,252 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.2017-06-10 16:04:38,354 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.2017-06-10 16:04:38,558 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.2017-06-10 16:04:38,861 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.2017-06-10 16:04:39,363 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.2017-06-10 16:04:40,372 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.2017-06-10 16:04:42,380 ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
ERROR: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
伪分布模式下,如(djt002)
hbase-env.sh配置文档中的HBASE_MANAGES_ZK的默认值是true,它表示HBase使用自身自带的Zookeeper实例。
但是,该实例只能为单机或伪分布模式下的HBase提供服务。
当然,你也可以,在单击或伪分布模式下,使用外置安装的Zookeeper。
若是分布式模式,则需要配置自己的Zookeeper集群。如(HadoopMaster、HadoopSlave1、HadoopSlave2)
hbase-env.sh配置文档中的HBASE_MANAGES_ZK的默认值是true,它表示,分布式模式里,在启动HBase时,HBase将Zookeeper作为自身的一部分运行。进程变为HQuorumPeer。
hbase-env.sh配置文档中的HBASE_MANAGES_ZK的默认值是false,它表示,分布式模式里,需要,先提前手动,每个节点都手动启动Zookeeper,然后再在主节点上启动
HBase时,进程变为HMaster(HadoopMaster节点)。
问题的解决办法:
这个坑搞了很久
主要原因是独立安装的zookeeper并没有创建/znode
导致Hbase无法定位到默认的znode— /hbase
解决方法:
运行zookeeper:./zkCli.sh
创建znode: create /hbase myhbase
现在重启hbase ,hmaster和regionserver正常启动
阅读全文
0 1
- 使用外置安装的zookeeper后hbase出错;ERROR: The node /hbase is not in ZooKeeper
- The node /hbase-unsecure is not in ZooKeeper.
- 【Hbase】Hbase分布式链接出错的问题,启动后不能连上其他节点处理问题。一直报错The node /hbase is not in ZooKeeper.不能同步的问题。
- ERROR: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the val
- 【错误】The node /hbase is not in ZooKeeper,Hbase端口占用无法正常启动
- hbase无法启动,The node /hbase is not in ZooKeeper和Can't get master address from ZooKeeper;
- Hbase禁用自带ZooKeeper,使用已经安装的ZooKeeper
- Hbase禁用自带ZooKeeper,使用已经安装的ZooKeeper
- 完全分布式安装hbase,使用hbase自带的zookeeper
- Hadoop+Hbase+Zookeeper安装
- hadoop,zookeeper.hbase安装
- hadoop+zookeeper+hbase安装
- hadoop+HBase+Zookeeper 安装
- zookeeper和hbase安装
- hbase安装(使用已经安装的HDFS和zookeeper)
- hbase-zookeeper
- hbase+zookeeper
- hbase-zookeeper
- 前台将数据存入集合并封装为JSON格式,后台用list遍历输入
- K近邻算法(kNN)学习——kd树
- leetcode 410. Split Array Largest Sum
- C++文件操作函数-读写文件
- android自动化测试工具【UiAutomator】——UiScrollable
- 使用外置安装的zookeeper后hbase出错;ERROR: The node /hbase is not in ZooKeeper
- 怎么样把网站内链优化与网站外链建设做好呢?
- Oracle 几种启动方式 & 查询启动状态
- Android 获取sd卡空间
- String、StringBuffer与StringBuilder之间区别
- WebRTC学习笔记_Demo收集
- C++单件模式下的继承
- 基于微学苑的Java学习笔记
- 禅道搭建centos 7 nginx