zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Hörberg <carl.hoerb...@gmail.com>
Subject override server hostname
Date Tue, 23 Sep 2014 15:36:31 GMT
When starting up zookeeper it finds its own hostname, eg: 

2014-09-23 15:28:02,356 [myid:] - INFO [main:Environment@100] - Server environment:host.name=ip-10-90-128-35.eu-west-1.compute.internal

But is it possible to override it? I've tried changing /etc/hostname but to no avail. 

The problem I have is that when a client connects to the servers public IP it seems like the
connection is accepted but then the clients tries to resolve and connect to the hostname that
the server has set, so if the client can't resolve it, eg. in this case if the client isn't
in EC2, it won't successfully connect. 

Mime
View raw message