You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ricard Mestre Subirats <ri...@everis.com> on 2014/10/09 14:07:21 UTC

Error conection in Nodetool

Hi everyone,

I have an issue with nodetool conection. I'm configuring a 2 node cluster with Cassandra 2.1 and 8.0 Java version, and I'm having problems with nodetool. The configuration of the machines is the following:

At the machine with IP 192.168.150.112<http://192.168.150.112>:
-cluster_name: 'CassandraCluster1'
-seeds: "192.168.150.112"
-listen_address: 192.168.150.112
-rpc_address: 0.0.0.0
-broadcast_rpc_address: 192.168.150.112

At the machine with IP 192.168.150.113<http://192.168.150.113>:
-cluster_name: 'CassandraCluster1'
-seeds: "192.168.150.112"
-listen_address: 192.168.150.113
-rpc_address: 0.0.0.0
-broadcast_rpc_address: 192.168.150.113
When I execute "nodetool status" the result is the following error:
nodetool: Failed to connect to '127.0.0.1:7199' - NoRouteToHostException: 'There is not any route to the `host''.

I have read answers for similar error pointing that you can solve this configuring the following parameter of the cassandra-env.sh:

JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=cassandra2"

I have configured this parameter in both machines but the error persists.

Can someone help me?
Thank you!

Ricard

________________________________

AVISO DE CONFIDENCIALIDAD.
Este correo y la informaci?n contenida o adjunta al mismo es privada y confidencial y va dirigida exclusivamente a su destinatario. everis informa a quien pueda haber recibido este correo por error que contiene informaci?n confidencial cuyo uso, copia, reproducci?n o distribuci?n est? expresamente prohibida. Si no es Vd. el destinatario del mismo y recibe este correo por error, le rogamos lo ponga en conocimiento del emisor y proceda a su eliminaci?n sin copiarlo, imprimirlo o utilizarlo de ning?n modo.

CONFIDENTIALITY WARNING.
This message and the information contained in or attached to it are private and confidential and intended exclusively for the addressee. everis informs to whom it may receive it in error that it contains privileged information and its use, copy, reproduction or distribution is prohibited. If you are not an intended recipient of this E-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute any portion of this E-mail.