On 7/6/2018 7:50 AM, Sushant Vengurlekar wrote:
> I am doing the same but somehow its not working. I get the following errors
>
> Resolved hostname: zk-1.example.local to address: zk-1.example.local/
> 172.16.3.85
>
> Cannot open channel to 2 at election address zk-1.example.local/
> 172.16.3.85:3888
>
> INFO  [QuorumPeer[myid=3]/0.0.0.0:2183:QuorumPeer$QuorumServer@184] -
> Resolved hostname: zk-1.example.local to address: zk-1.example.local/
> 172.16.3.85

This is a Solr mailing list, not a ZooKeeper mailing list.  When I read
your original question, it seems to be asking about ZooKeeper config,
not Solr config.

I have a ZK config for my little SolrCloud setup that has these three
lines (domain name redacted):

server.1=mbzoo1.REDACTED.com:2888:3888
server.2=mbzoo2.REDACTED.com:2888:3888
server.3=mbzoo3.REDACTED.com:2888:3888

Almost every modern operating system comes with a host firewall enabled
that blocks all incoming traffic by default unless configured
differently, which some network-enabled packages can do when they
install.  The error you have indicated above sounds like traffic being
blocked by a firewall.  If that's the problem, you'll need to either
disable the firewall or modify its configuration to allow the ZK process
to receive traffic on the ZK client port as well as the two ports that
you have configured on the server line in the zookeeper config.

Thanks,
Shawn

Reply via email to