hbase单机启动,zookeeper端口一直被占用
hbase使用自带zk启动,最开始都能正常启动,今天突然就不行了,报错:
Could not start ZK at requested port of 2182. ZK was started at port: 2183. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
hbase的hbase-site.xml配置如下
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///home/hm/dev/card/data/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hm/dev/card/data/hbase-zookeeper</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2182</value>
</property>
</configuration>
我把端口2182改为2183,用报错Could not start ZK at requested port of 2183
hosts文件如下:
127.0.0.1 localhost
192.168.188.128 hm-pc
有大神告诉下怎么回事吗