Overview
This article discusses the various options available for checking running versions of DataStax Enterprise on a node.
Procedure
OPTION 1 - Use the dse
command
Specify the -v
(version) flag with the command.
Here are example outputs:
$ dse -v 6.7.3
$ dse -v 6.0.8
$ dse -v 5.1.14
OPTION 2 - Use the nodetool
utility
Run the nodetool version
command to get the version of the database included in DSE.
Here are example outputs for different DSE versions:
$ nodetool version ReleaseVersion: 3.11.3.5115
$ nodetool version ReleaseVersion: 4.0.0.608
$ nodetool version DSE version: 6.7.3 ReleaseVersion: 4.0.0.673
Version numbering
Apache Cassandra versions have the form X.Y.Z
where:
X
is the major versionY
is the minor versionZ
is the patch version
This scheme more or less follows Tom Preston-Werner's Semantic Versioning specification.
The database included in DataStax Enterprise expands on the versioning scheme with the addition of a DSE-specific version. For example, DSE 5.1.10 included Apache Cassandra™ 3.11.0.2323 which means that the database was built on top of Cassandra 3.11.0 plus additional DSE enhancements version 2323.
From DSE 5.0.15, DSE 5.1.11, DSE 6.0.3 and DSE 6.7.0, the database version reported is simplified to match the DSE version (DB-1699). Using the examples above:
ReleaseVersion: 3.11.3.5115
is the database version for DSE 5.1.15 (5115
)ReleaseVersion: 4.0.0.608
indicates that the DSE 6.0.8 database is compatible with Apache Cassandra 4.0.0
[1] At the time of writing, Apache Cassandra 4.0 has not been finalised and has not been released yet.