I have Cassandra pool across machines in LAN. I need nodetool
on machine without Cassandra installed. How can I get it?
Is the installing Cassandra and disabling db service is the best way?
cassandra
I have Cassandra pool across machines in LAN. I need nodetool
on machine without Cassandra installed. How can I get it?
Is the installing Cassandra and disabling db service is the best way?
Best Answer
The easiest (non-invasive) way is probably to download the tarball installation (you'll need to select either a Mac or Linux-based OS for it to allow you to download the tarball). Based-on your mention of disabling the service, I'm going to guess that you want to accomplish this on Windows. If that's not the case, please indicate so in the comments.
Un-tar dsc-cassandra-2.0.8-bin.tar.gz to the location you want to run Nodetool out of. ex:
Note: You may have a different application you use for tarballs. I ran this from a Cygwin terminal.
Find the location of your JRE/JDK (not the
bin
directory) and set that as your "JAVA_HOME" (System) environment variable. When you have it set properly, you should be able to query it via CMD:Once you have JAVA_HOME set, it should work from either CMD or Powershell:
This way, you can run
nodetool
without messing with an installer or services.