如果出现异常如下:
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.
则需要修改 hbase-site.xml
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
sh ./hbase shell 启动客户端
本文解决了一个常见的HBase集群配置问题,当ZooKeeper无法在指定的2181端口启动时,需要修改hbase-site.xml文件中的hbase.cluster.distributed属性,确保客户端能够正确找到ZooKeeper集群。
3554

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



