[
https://issues.apache.org/jira/browse/ZOOKEEPER-3897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens M Kofoed updated ZOOKEEPER-3897:
-------------------------------------
Description:
Creating a minimum zoo.cfg file where the servers are specified with there
hostnames/fqdn in stead of ip adress. The result is that the server only binds
to 127.0.0.1 for the election on port 3888
to make a workaround I had to add the quorumListenOnAllIPs=true to the config
file
Enabling quorumListenOnAllIPs introduce another error. The leader server gets
connections request from localhost and writes errors in the log.
was:
Creating a minimum zoo.cfg file where the servers are specified with there
hostnames/fqdn in stead of ip adress result in the server only binds to
127.0.0.1.
to make a workaround I had to add the quorumListenOnAllIPs=true to the config
file
Enabling quorumListenOnAllIPs introduce another error. The leader server gets
connections request from it self
> When using hostname zookeeper only binds to 127.0.0.1
> -----------------------------------------------------
>
> Key: ZOOKEEPER-3897
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3897
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.6.1
> Environment: Ubuntu 18.04 with openjdk-8-jdk
> Reporter: Jens M Kofoed
> Priority: Major
>
> Creating a minimum zoo.cfg file where the servers are specified with there
> hostnames/fqdn in stead of ip adress. The result is that the server only
> binds to 127.0.0.1 for the election on port 3888
> to make a workaround I had to add the quorumListenOnAllIPs=true to the
> config file
> Enabling quorumListenOnAllIPs introduce another error. The leader server gets
> connections request from localhost and writes errors in the log.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)