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]
No comments:
Post a Comment