You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From tomcat.log I have observed Priam detecting the correct cluster name and setting security group ACL and detecting other nodes in ASG, however what I don't understand is that why it has set the listen and broadcast addresses to null. I traced this down to the following line of code:
This doesn't seam right to me as it is explicitly setting hostname parameter for that method to null and inside the method there is no reference reading the hostname or public ip from IConfiguration.
I might be missing something in understanding how Priam supposed to work, and your advice is greatly appreciated.
The text was updated successfully, but these errors were encountered:
The hostname is set to null to let Cassandra autodetect the correct address to bind to. This forces you to make Cassandra find the ip you intend to bind on as the localhost. See this FAQ for more info: http://wiki.apache.org/cassandra/FAQ#cant_listen_on_ip_any
I did this by simply changing /etc/hosts to let localhost resolve to the private ip address of the host.
From tomcat.log I have observed Priam detecting the correct cluster name and setting security group ACL and detecting other nodes in ASG, however what I don't understand is that why it has set the listen and broadcast addresses to null. I traced this down to the following line of code:
File:
src/main/java/com/netflix/priam/utils/TuneCassandra.java: TuneCassandra.updateYaml(config, config.getCassHome() + "/conf/cassandra.yaml", null, config.getSeedProviderName());
This doesn't seam right to me as it is explicitly setting hostname parameter for that method to null and inside the method there is no reference reading the hostname or public ip from IConfiguration.
I might be missing something in understanding how Priam supposed to work, and your advice is greatly appreciated.
The text was updated successfully, but these errors were encountered: