Noticed that common.get_version_from_build and
get_dse_cassandra_version were invoked frequently when creating clusters
and using ccm command later (as many as 35 times).
These functions parse files on the file system to extract C* and DSE
versions. Updated code to now store version and cassandra_version
with cluster and node config.
Also updated get_dse_cassandra_version to use bin/dse cassandra -v
instead of looking for cassandra-all.jar and parsing version number from
it.
Noticed that common.get_version_from_build and get_dse_cassandra_version were invoked frequently when creating clusters and using ccm command later (as many as 35 times). These functions parse files on the file system to extract C* and DSE versions. Updated code to now store version and cassandra_version with cluster and node config.
Also updated get_dse_cassandra_version to use
bin/dse cassandra -v
instead of looking for cassandra-all.jar and parsing version number from it.