All of my nodes have the same cassandra-env.sh. Only a few of them complain.
LOCAL_JMX=no if [ "$LOCAL_JMX" = "yes" ]; then JVM_OPTS="$JVM_OPTS -Dcassandra.jmx.local.port=$JMX_PORT -XX:+DisableExplicitGC" else JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.port=$JMX_PORT" JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT" JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl=false" JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=false" JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password" fi On Tue, Aug 25, 2015 at 4:35 PM, Michael Shuler <mich...@pbandjelly.org> wrote: > On 08/25/2015 02:19 PM, Jason Lewis wrote: >> >> I'm trying to run nodetool from one node, connecting to another. I >> can successfully connect to the majority of nodes in my ring, but two >> nodes throw the following error. >> >> nodetool: Failed to connect to '<IP>:7199' NoSuchObjectException: 'no >> such object in table'. >> >> Any idea why this is happening? Misconfiguration? > > > Possibly. Check those nodes to see if 7199 is listening to only localhost or > some private IP your client node cannot reach (failed to connect). The > default is to only listen on localhost, as seen on my machine: > > $ netstat -ln | grep 7199 > tcp 0 0 127.0.0.1:7199 0.0.0.0:* LISTEN > > JMX configuration is set in conf/cassandra-env.sh - please, configure JMX > security as documented in that file and/or firewall JMX. Check all your > nodes JMX security configs! :) > > -- > Kind regards, > Michael >