How do i display the version of cqlsh, cql, cassandra, and native protocol?



  • All the versions are display when you first go into the cqlsh.

    $ cqlsh
    Connected to Test Cluster at 127.0.0.1:9042.
    [cqlsh 5.0.1 | Cassandra 3.0.17 | CQL spec 3.4.0 | Native protocol v4]
    Use HELP for help.
    cqlsh>
    

    Show the version.

    cqlsh> show version
    [cqlsh 5.0.1 | Cassandra 3.0.17 | CQL spec 3.4.0 | Native protocol v4]
    cqlsh> 
    

    To get just the Cassandra version out of the cqlsh.

    $ nodetool version
    ReleaseVersion: 3.0.17
    

Log in to reply
 

© Lightnetics 2024