I have a Cassandra cluster of two nodes. I am using Cassandra 3.10.
when I tried to run nodetool status
, by default it is calling /usr/bin/nodetool
and gives result You must set the CASSANDRA_CONF and CLASSPATH vars
.
CASSANDRA_HOME
and CASSANDRA_HOME/bin
is already set in bashrc.
When I run CASSANDRA_HOME/bin/nodetool status
It is showing correct result, both the nodes are up.
My problem is how can I make CASSANDRA_HOME/bin/nodetool
as default. So that I can call it from any where.
PS: cqlsh
is also showing same behavior.
Thanks.