Spring-cassandra and datastax driver update - spring-data

The latest release of spring-cassandra is dependent on the 2.1.5 datastax driver. Is there any ETA for an update to the 2.2 release?

there's no ETA yet, however we plan to update the Spring Data Cassandra module after the Release Train Hopper.

Related

Springboot 1.5.7 with mongodb driver 3.8.2

My project is currently working with an elder spring boot version 1.5.7 and we wanna use a mongodb 4.0
Due to the gap between spring boot versions 1.5 to 2.X, i would like to upgrade for now the mongodb driver only by using a 3.8.2
My need is only some records and fetchs, any ACID specifics needs sure as update a doc with several processes
I tried locally and i got any errors,
My question is although it's not the best way, is there any fallback by doing that?
(Notes: I will upgrade my spring boot version later)
Thank by advance
Spring Boot is an opinionated framework and also has opinions about the used dependency versions.
So it's never a good idea to upgrade the dependency versions without upgrading Spring Boot itself.
I would not recommend to upgrade just the Mongo DB driver.

spark-cassandra-connector for Spark 1.4 and Cassandra 3.0

Spark-Cassandra experts: Will Apache Spark 1.4 work with Apache Cassandra 3.0 in Datastax installations?. We are considering several options for migrating DSE 4.8 (Spark 1.4 and Cassandra 2.1) to DSE 5.0 (Spark 1.6 and Cassandra 3.0). One option is to update Cassandra Cluster to DSE 5.0 and leave Spark cluster on DSE 4.8. This means we have to make Apache Spark 1.4 work with Apache Cassandra 3.0. We use https://github.com/datastax/spark-cassandra-connector versions 1.4 (DSE 4.8) and 1.6(DSE 5.0). Has someone tried using Spark 1.4 (DSE 4.8) with Cassandra 3.0 (DSE 5.0) ?.
As I can see from the Maven Central, Spark Cassandra Connector 1.4.5 did use the version 2.1.7 of the Java driver. According the compatibility matrix in official documentation, the driver 2.1.x won't work with Cassandra 3.0... You can of course test it, but I doubt that it will work - driver is usually backward compatible, but not forward compatible...
I recommend to perform migration to DSE 5.0, and then move to 5.1 fast enough, as 5.0 could be EOL soon.
P.S. If you have more questions, I recommend to join the DataStax Academy Slack - there is a separate channel about spark cassandra connector there.

spring-boot mongodb 4.0 compatibility

Which version of spring-boot is compatible with MongoDB 4.0?
Is there an advisable way to use spring-boot 2.0.5 RELEASE with MongoDB 4.0?
Or better to use spring boot 2.0.5 which has mongo driver version 3.6.x with MongoDB 3.6`?
I think it is not strictly needed to have the latest driver and spring data mongo in order to use a mongodb 4.0; However in the spring data changelog you can see the various changes regarding the driver and DB update, there you can see that in version 2.1.0.RC1 they started adding support for version 4.0 of the database as well as in version 1.10.15.RELEASE. Latest GA version 2.1.0.RELEASE documentation has updated to MongoDB Java Driver 3.8.2.
The java driver and Spring will always be a bit behind with new functionalities introduced by each version of MongoDB. So my suggestion if you are starting now is to use the latest 2.1.0.RELEASE (https://projects.spring.io/spring-data-mongodb/#quick-start)
Edit:
How Mongo was before version 4.0 how-acid-mongodb
ACID in mongo 4.0 multi document transaction
Spring data mongo support for transactions

Upgrading to Spark 1.5.0 on Ambari

I am using the Hortonworks release which uses Spark 1.3.
When I ran my app using Spark API 1.5 it failed, but switching to 1.3 worked.
There are new features in 1.5 that I want to use on the server but apparently this is not possible without upgrading it.
How do I upgrade Spark from 1.3 to 1.5 on Ambari?

When is Spring Data MongoDB targeting support for MongoDB 3.0?

Seems the MongoDB release is a significant performance upgrade - ay idea when Spring Data MongoDB will support this version?
Strictly speaking, the MongoDB 3.0 server can even be used with the latest 2.13 Java driver and thus the currently released Spring Data MongoDB 1.6.2. For a full compatibility overview of the driver and server versions, see this wiki page.
The recently released first release candidate of Spring Data MongoDB 1.7 ships support for the MongoDB 3.0 Java driver. This is mostly a compatibility release, we don't target special 3.0 features yet (although you should be able to benefit from an upgrade nonetheless).
Find more information about this in the release train wiki, the JIRA ticket as well as the corresponding section of the reference documentation.
The GA release of Spring Data MongoDB 1.7 is scheduled to be part of the Fowler release train GA end of March.
Spring Data Mongo has 1.7RC1 -> http://docs.spring.io/spring-data/data-mongo/docs/1.7.0.RC1/ Hopefully that one will be released soon.
As Java Driver github repo says, they released a 2.13.0 version on January 29th and it is stable -> https://github.com/mongodb/mongo-java-driver/releases/tag/r2.13.0 It includes all the features for mongo 3.0, but you need to go through the compatibility to upgrade to this version.
Also, they are working on v. 3.0.0. for Java Driver, you can find it here -> https://github.com/mongodb/mongo-java-driver/releases/tag/r3.0.0-beta3 (its still in beta though)