cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Shuler <>
Subject Re: Programmatic Cassandra version detection/extraction
Date Wed, 12 Nov 2014 23:57:18 GMT
On 11/12/2014 04:58 PM, Michael Shuler wrote:
> On 11/12/2014 04:44 PM, Otis Gospodnetic wrote:
>> Is there a way to detect which version of Cassandra one is running?
>> Is there an API for that, or a constant with this value, or maybe an
>> MBean or some other way to get to this info?
> I'm not sure if there are other methods, but this should always work:
>    SELECT release_version from system.local;

I asked the devs about where I might find the version in jmx and got the 
hint that I could cheat and look at `nodetool gossipinfo`.

It looks like RELEASE_VERSION is reported as a field in FailureDetector AllEndpointStates.


View raw message