Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Compatibility with cassandra-driver-core 3.3.0 ? #65

Closed
goerge opened this issue Jul 26, 2017 · 4 comments
Closed

Compatibility with cassandra-driver-core 3.3.0 ? #65

goerge opened this issue Jul 26, 2017 · 4 comments
Assignees
Labels

Comments

@goerge
Copy link

goerge commented Jul 26, 2017

Is cassandra-migration 0.11 compatible with datastax cassandra-driver-core 3.3.0?

cassandra-migration depends on datastax cassandra-driver-core 3.0.6 which has a compatibility issue with Guava 20 (see https://datastax-oss.atlassian.net/browse/JAVA-1328)

Is it safe to force a newer version of datastax cassandra-driver-core (at least 3.2.0) when using cassandra-migration 0.11?

@hhandoko
Copy link
Owner

Hi @goerge , I have not tested it yet against newer cassandra-driver-core versions.

My plan was to bring the drivers up-to-date post v1 (pending the implementation of callbacks). I can put this as a priority, and if nothing major breaks:

  • 0.12 - Update drivers to 3.1.x
  • 0.13 - Update drivers to 3.2.x
  • 0.14 - Update drivers to 3.3.x

PS. I've updated the roadmap to suit: https://github.com/builtamont-oss/cassandra-migration/wiki/Roadmap

@hhandoko hhandoko self-assigned this Jul 27, 2017
@hhandoko hhandoko added the task label Jul 27, 2017
@hhandoko hhandoko added this to the cassandra-migration-0.12 milestone Jul 27, 2017
@spolamraju
Copy link

cqlsh connects fine. however,
java -jar -Dcassandra.migration.scripts.locations=filesystem:sql/CaaS -Dcassandra.migration.scripts.locations=filesystem:sql/CaaS -Dcassandra.migration.table.prefix=another_app_ -Dcassandra.migration.cluster.contactpoints=xxx..xx.xxx.xxx -Dcassandra.migration.cluster.port=9042 -Dcassandra.migration.cluster.username=xyz -Dcassandra.migration.cluster.password=abc -Dcassandra.migration.keyspace.name=xxx -Dcassandra.migration.keyspace.consistency=QUORUM jars/cassandra-migration-0.11-jar-with-dependencies.jar migrate throws following error

Cassandra Migration 0.11
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /xxx.xx.xxx.xxxx:9042 (com.datastax.driver.core.exceptions.TransportException: [xxx.xx.xxxx.xxx:9042] Channel has been closed))
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:233)

cqlsh version [cqlsh 5.0.1 | Cassandra 2.1.14 | DSE | CQL spec 3.2.1 | Native protocol v3]

@Ignas
Copy link
Contributor

Ignas commented Dec 22, 2017

I think this happens when calculateVersionRank tries to execute an empty batch.

@hhandoko
Copy link
Owner

hhandoko commented Apr 1, 2018

v0.15 which uses cassandra-driver 3.3.x has been published, it should be synced to Maven Central within 48 hours.

@hhandoko hhandoko closed this as completed Apr 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants