I have never been able to get nodetool to operate correctly to give me information about my cluster. We have a simple 3-node cluster of Cassandra 3.11.1 nodes running under CentOS 7.3 -- using the gossip snitch and replication. We have a special place on the file system where we're putting the node configurations, but these are appropriately set with environment variables. A "generic" configuration is in the environment for client applications.
These are attempts at using nodetool (I have replaced the exact server name with /hostname/.)
% nodetool -h /hostname/ status nodetool: Found unexpected parameters: [/hostname/, status] See 'nodetool help' or 'nodetool help '.
maybe the help is wrong and flags go at the end? Running this:
% nodetool status -h /hostname/
gives me usage information.
My favorite is this:
% nodetool help status nodetool: For input string: "help" See 'nodetool help' or 'nodetool help '.
I can connect with cqlsh. I get the same response from nodetool whether I'm on a remote host or one of the cluster nodes. Python clients connect fine and we've been able to create keyspaces and bulk load data from remote hosts.
I am sure there is some configuration I have overlooked but I can't find any information about what it might be in the docs.
Any suggestions on how to get nodetool working?
ls -ls
which nodetool`` (which nodetool
should be back quotes) - does it point to location of this tarball installation?