简体   繁体   中英

DataStax Devcenter CQL3 version vs Cassandra vrs

Within DevCenter, I'm getting an error: [feature] is introduced in CQL 3.1.0, you're running CQL 3.0.5.

This doesn't make sense as I'm using the absolute latest version of Cassandra (2.0.6); connecting through cqlsh shows it's using 3.1.1:

Connected to Test Cluster at localhost:9160.
[cqlsh 4.1.1 | Cassandra 2.0.6 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
Use HELP for help.

What can I do to make DevCenter understand it should be connecting using 3.1.1?

From Alex Popescu alexp@datastax.com on the mailing list:

DevCenter 1.0 is the Java driver 1.0 to connect to your cluster. This version of the driver doesn't support C* 2.0 with its latest CQL version. Now you'll still be able to connect to a C* 2.0 cluster, but your queries will actually need to be compatible with C* 1.2 (basically none of the new CQL features will work).

On the bright side, we're working on updating DevCenter to use the Java driver 2.0 which supports both C* 1.2 and 2.0 (and their corresponding CQL versions).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM