0 votes
1 view
in AWS by (19.2k points)

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.


1 Answer

0 votes
by (44.6k points)

As you are on a Debian based system, follow this:

1. First, install the Cassandra Debian package 

% apt-get update % apt-get install cassandra

So, Cassandra will be installed and running now but it is not configured for a multi-node cluster. 

2. Now, you can simply use Debian’s package management tool to inquire about Cassandra. Type the below command:

% dpkg -s cassandra

Welcome to Intellipaat Community. Get your technical queries answered by top developers !