I just spun up a machine on EC2 running Cassandra following the instructions in the link below, but I have no idea what version it is. How do I figure this out? I know I'm missing something incredibly simple, just don't know where to look.
http://wiki.apache.org/cassandra/CloudConfig
Open cqlsh and type show VERSION . This gives all the versions of cqlsh, DSE, Cassandra etc.
Check the status of the Cassandra nodes in your cluster - Go to the /<Install_Dir>/apache-cassandra/bin/ directory and type the ./nodetool status command. If the status for all the nodes shows as UN , then the nodes are up and running. If the status for any node shows as DN , then that particular node is down.
You can know the version from running cassandra by connecting it via CQLSH. The prompt displays the version of cassandra it connected to. Show activity on this post. Once you know the location of your Cassandra instance(s) you can simply execute the cassandra binary with the -v option.
It might be easier to use nodetools
./nodetool -h localhost version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With