From 7552195d18196e3b800f057551119ed4d2605bc2 Mon Sep 17 00:00:00 2001 From: Florian Hockmann Date: Thu, 1 Aug 2024 15:44:14 +0200 Subject: [PATCH] Ensure Scylla driver is used for scylla-hadoop I don't know why this exclusion is necessary because `cassandra-driver-core` is only an optional dependency of `janusgraph-cql` and should therefore not be included in the classpath of `janusgraph-scylla` any way, but it looks like that is not the case. At least we got failing Scylla Hadoop tests after trying to update the Scylla driver to 3.11.5. They fail with a `NoSuchMethodError` on `ResultSet.one()` which was removed in the Scylla driver. @Bouncheck mentioned that this error should only be possible if we actually have another version of the driver on our classpath which let to this (hopefully) fix. So it should now be possible to update the Scylla driver again. Signed-off-by: Florian Hockmann --- janusgraph-scylla/pom.xml | 4 ++++ scylla-hadoop-util/pom.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/janusgraph-scylla/pom.xml b/janusgraph-scylla/pom.xml index 4a6f210175..fa65f491fd 100644 --- a/janusgraph-scylla/pom.xml +++ b/janusgraph-scylla/pom.xml @@ -64,6 +64,10 @@ com.datastax.oss java-driver-query-builder + + com.datastax.cassandra + cassandra-driver-core + diff --git a/scylla-hadoop-util/pom.xml b/scylla-hadoop-util/pom.xml index 52015a8b0d..41d53d0743 100644 --- a/scylla-hadoop-util/pom.xml +++ b/scylla-hadoop-util/pom.xml @@ -32,7 +32,7 @@ com.scylladb scylla-driver-core - 3.11.2.4 + 3.11.5.3 com.github.jnr