What version of Thrift does Cassandra 0.8.1 use?
Does the version of Thrift matter?
I plan to use it to generate C# client libraries to access Cassandra.
Thanks
It uses the same version as 0.8.0-beta1 : thrift 0.6
You can look at to the Change.txt to find out :)
Related
I am writing to check the check the compatibility of Datastax cassandra-driver-core 3.6 for working with Cassandra Version 4.
Could you please suggest.
below is the dependency currently being used, Checking if same dependency will work for Cassandra version 4.0
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
<version>3.6.0</version>
I did refer this post, which says it is compatible. However, it dint work out for me. If you may comment for the support part to check further
Apache Cassandra 4.x java driver compatibility
I managed to install cassandra 4x using the same cassandra 3.11 driver
Below steps to make it work:
Download and Install cassandra-4.0.5-1.noarch.rpm from https://downloads.apache.org/cassandra/redhat/40x/
Configure cassandra.yaml file per the existing cluster cassandra.yaml file.
Below parameters, if exists, need to be removed/commented from Cassandra.yaml as its not supported by cassandra4.X version
a. start_rpc
b. rpc_server_type
c. rpc_port
d. thrift_framed_transport_size_in_mb
e. request_scheduler
f. thrift_prepared_statements_cache_size_mb
Note: If using rhel and cassandra-4.0.5-1.noarch.rpm is failing with yum command, try using cassandra-4.0.4-1.noarch.rpm which works fine.
Version 3.6 of the Java driver is compatible with Apache Cassandra 4.0 but there are additional steps required to make it work.
Cassandra 4.0 operates with native protocol v5 (CASSANDRA-9362, CASSANDRA-14973) but Java driver v3.6 supports up to native protocol v3 only (C* 2.2, 3.x). In order to connect to a C* 4.0 cluster, you will need to configure Java driver v3.6 to explicitly use protocol v3. For example:
Cluster cluster = Cluster.builder()
.addContactPoint(contactpoint)
.withProtocolVersion(ProtocolVersion.V3)
.build();
As a side note, v3.6 of the driver was released in 2018 and is very old. We recommend that you upgrade to the latest v3.x version of the Java driver which at the time of writing is v3.11. Since it is just an upgrade to the latest patch release, it is binary compatible with v3.6 and does not require a refactor of your application. Cheers!
Want to upgrade Cassandra from 3.3 to 4.0.6. The database is used by Java applications that are running the Datastax driver 3.2 and some using the Dropwizard cassandra driver version 4.0.
Will I have to update the Java applications as part of the upgrade ? Or is Cassandra 4.0.6 backward compatible ?
Cassandra 4.0 is backwards compatible with older protocol versions (3 and 4). If you were able to connect to a Cassandra cluster running 3.X with your application, you should be able to connect to a 4.0 cluster.
As long as you are using some version of datastax java-driver 3.0 or later, you should be able to continue using the same versions of client libraries you are already using.
That being said, 3.2 is a fairly old version. You may what to consider upgrading to the latest 3.X datastax java driver or look at the 4.X java driver (which is a complete rewrite and would require more code changes).
Support is explicitly listed for Cassandra 3.0 here http://docs.datastax.com/en/developer/driver-matrix/doc/javaDrivers.html#java-drivers and they also list versions like 2.1 and 2.2 explicitly so I don't really want to just assume 3.10 is ok if 3.0 is
I'm not sure if 3.10 will be supported though. Does anyone know? It looks like it probably is, but maybe someone can say for sure. Thanks
Yes, Datastax Driver 3.2 will work on Apache Cassandra 3.10
Apache Cassandra 3.x supported protocol version v4, Only the datastax driver 3.x uses protocol version v4.
Check this link for more details : http://docs.datastax.com/en/developer/java-driver/3.2/manual/native_protocol/#compatibility-matrix
Just curious what versions of cql are supported in Cassandra 3.9.
I know that cql 3.4.2 is supported in Cassandra 3.9, but whether 3.4.3 is supported too? and how to upgrade/config Cassandra 3.9 to use cql 3.4.3?
I searched on Internet, I found some information such as Which CQL version corresponds to which Cassandra version?, https://docs.datastax.com/en/landing_page/doc/landing_page/compatibility.html, and so on, but these posts can not help me.
Any comments welcomed. Thanks
Just curious what versions of cql are supported in Cassandra 3.9
CQL adheres to semantic versioning, meaning that a server supporting 3.4.2 should support anything in the range [3.0, 3.4.2].
but whether 3.4.3 is supported too? and how to upgrade/config Cassandra 3.9 to use cql 3.4.3?
A given version of Cassandra has a fixed maximum CQL spec. For 3.9, it is 3.4.2, as you point out. There is no way to configure a higher version. To get features from the next CQL spec requires upgrading Cassandra (note that all the changes for 3.4.3 have fixVer=3.10)
I have installed Cassandra 2.0.1 and want to use Astyanax Java API's from my application.
I have seen the Cassandra compatibility table on the wiki which says
Astyanax uses a versioning scheme that is internal to Netflix and does not match the Cassandra versioning scheme. The below table provides a mapping from astyanax version to cassandra version.
Astyanax Cassandra
1.56.26 ... 1.56.34 1.1 - 1.2
1.0.4 ... 1.56.25 1.1
1.0.0 ... 1.0.3 1.0.8
... 0.8.11 0.8.6
Here there is no mention of the compatibility of Cassandra 2.0.1 with Astyanax.
1. I would like to know the version of Astyanax is compatible with Cassandra 2.0.1.
2. Or Should I use some other APIs, Please suggest.
The datastax java driver is compatable with C* 2.0.x but it's still in beta.
<dependency>
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
<version>2.0.0-beta1</version>
</dependency>
As for astyanax, they dont have an official release that supports 2.0 quite yet.