Thursday 5 March 2020

Cassandra: Get the version of Cassandra installed in my system

Approach 1: Execute the command ‘nodetool -h localhost version’.
$ nodetool -h localhost version
ReleaseVersion: 3.11.4


Approach 2: Execute the command cqlsh, you can see the version information in console.
$ cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.11.4 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cqlsh>

Approach 3: Execute the command ‘SHOW version’ from cqlsh prompt, you can get the Cassandra version details.
cqlsh> SHOW version;
[cqlsh 5.0.1 | Cassandra 3.11.4 | CQL spec 3.4.4 | Native protocol v4]


Previous                                                    Next                                                    Home

No comments:

Post a Comment