HBase之——连接不上Zookeeper的解决方案
转载请注明出处:https://blog.csdn.net/l1028386804/article/details/88695338当HBase连不上Zookeeper时,会报出如下的错误信息:Could not start ZK at requested port of 2181.ZK was started at port: 2182.Aborting as clients ...
·
转载请注明出处:https://blog.csdn.net/l1028386804/article/details/88695338
当HBase连不上Zookeeper时,会报出如下的错误信息:
Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
解决方案如下:
1).hbase-env.sh 将 export HBASE_MANAGES_ZK 属性设置为false
export HBASE_MANAGES_ZK=false
2).hbase-site.xml 将 hbase.cluster.distributed 设置为true
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
重启HBase,问题解决。
更多推荐
已为社区贡献21条内容
所有评论(0)