Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Created October 19, 2015 11:00
Show Gist options
  • Save dasgoll/f5b294e0c9924900fc79 to your computer and use it in GitHub Desktop.
Save dasgoll/f5b294e0c9924900fc79 to your computer and use it in GitHub Desktop.
Cassandra CQL cqlsh supported version
[root@dev-etl apache-cassandra-2.2.3]# cd bin/
[root@dev-etl bin]# ./cqlsh cassandra1.kafkacluster100.com -u dwhuser -p 'password'
Connection error: ('Unable to connect to any servers', {'cassandra1.kafkacluster100.com': ProtocolError("cql_version '3.3.1' is not supported by remote (w/ native protocol). Supported versions: [u'3.3.0']",)})
[root@dev-etl bin]# ./cqlsh cassandra1.kafkacluster100.com -u dwhuser -p 'password' --cqlversion=3.3.0
Connected to kafkacluster100 at cassandra1.kafkacluster100.com:9042.
[cqlsh 5.0.1 | Cassandra 2.2.1 | CQL spec 3.3.0 | Native protocol v4]
Use HELP for help.
dwhuser@cqlsh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment