views:

40

answers:

2

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

+3  A: 

After reviewing the instructions you listed, it looks like you're on a Debian(-based) system. In particular, in the "Cassandra Basic Setup" section, it says:

Step 3. Install the Debian package for Cassandra

% apt-get update % apt-get install cassandra

At this point, Cassandra will be installed and running. However, it's not configured for a multi-node cluster. So we need to continue.

If you followed this step to install Cassandra, you can simply use Debian's package management tool to inquire about the package you installed:

% dpkg -s cassandra
chuckx
A: 

Try the describe_version() method.

http://wiki.apache.org/cassandra/API#describe_version

Nick Berardi