DataStax Help Center

nodetool fails with: Cannot resolve '' : unknown host


When implementing a cluster in OpenStack, nodes end up resolving an incorrect name for the following environment variable on

java.rmi.server.hostname=<%= node[:fqdn] %>


nodetool fails as follows:

# nodetool status 
xss = -ea -javaagent:/usr/share/dse/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms8G -Xmx8G -Xmn800M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/cassandra/cassandra-1401908659-pid19089.hprof -Xss256k 
Cannot resolve '': unknown host 


Set the following on

JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=<public name>"


Then restart DSE service or Apache Cassandra


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


  • Avatar
    José Martínez Poblete

    From T10588

Powered by Zendesk