1,028 questions
0
votes
1
answer
48
views
Maven Resolving Incorrect Dependency for Cassandra Drivers
I have my POM file declared like this:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3....
0
votes
1
answer
94
views
Cassandra timeout after PT2S
I have the following:
CompletableFuture<> cf = CompletableFuture.allOf(cqlSession.executeAsync(statement)
.thenApply(AsyncResultSet::wasApplied)
.toCompletableFuture());
cf....
0
votes
1
answer
143
views
Cassandra Java driver: high latency when executing many async reads in a loop
We're using DSE 6.0.18 (Cassandra version 3.11) and our application is both read and write heavy.
I have a situation where I need to fire N number of read queries for each API (by partition key) using ...
2
votes
0
answers
52
views
Spring Data CassandraDriverTimeoutException
I'm getting sporadic timeout exceptions from the Cassandra driver in a Spring Boot project, in spite of having what I think are the appropriate yml configuration properties.
spring:
cassandra:
...
0
votes
1
answer
214
views
Application getting "InvalidQueryException: Request is too big: length 18116963 exceeds maximum allowed length 16777216."
I've a cassandra cluster running on v4.1.8 and the settings are set as default, even the heap configuration.
Recently the application is experiencing errors like the below -
java.util.concurrent....
0
votes
1
answer
111
views
From time to time, Cassandra Java driver writes return "NoNodeAvailableException: No node was available to execute the query"
I am running a Scala application that uses the datastax java driver library to write data rows into multiple AWS Keyspaces tables. However, for one table specifically, INSERT or UPDATE operations fail ...
0
votes
1
answer
243
views
Java driver keeps reconnecting to old Cassandra pod IPs but pods have new IPs after restart
I have deployed a Java application as a pod in a Kubernetes environment, as well as Cassandra with a 3-node cluster. I am using Cassandra service FQDN to connect to Cassandra. Due to the Cassandra pod ...
2
votes
2
answers
151
views
Delete doesn't work immediately on single node Cassandra database
My problem is that I am not getting immediate delete on single node Cassandra.
The problem occurs only on Windows, when I run Cassandra in Docker container. There is no problem on Linux. I am using ...
0
votes
1
answer
119
views
How to add TTL variable using QueryBuilder in Cassandra Java driver 4.17.0
I want to generate query like "INSERT INTO table1 (id, data) VALUES (:id, :data) USING TTL :ttl"
with Datastax Cassandra driver QueryBuilder.insertInto().
Other related questions are so old ...
0
votes
1
answer
50
views
Single node cluster ignores LWT update when using single thread Java client on Windows
I have the following setup:
cassandra 4.1.7 running in docker on Ubuntu host, single node
java client with datastax driver 3.11.5, jdk 11.0.25
The code:
public class Main {
public static void ...
4
votes
2
answers
1k
views
Connecting from IntelliJ IDE returns "Since you provided explicit contact points, the local DC must be explicitly set"
I was facing local DC issue connecting to cassandra from intellij IDE. It says that the local DC must be explicitly set. I am providing the below details
hosts : cassandra.prod-az-southcentralus-301....
0
votes
1
answer
304
views
How do I upgrade Cassandra Java driver 3.11.3 to 4.0.0 for Spring?
I am supposed to upgrade my Cassandra version to 4.0.0 but whenever I am doing so I am getting the many issues like these:
error: error: cannot access TypeCodec,
error: cannot find symbol
And it is ...
0
votes
1
answer
59
views
Cassandra datastax 3.11.5 compatability
I have used datastax driver 3.11.5 version to connect to cassadra instance in version 4.x .Is this compatable ?
Also when I am using EmbeddedCassandraServiceHelper from cassandra-unit version 4.3.1.0 ...
1
vote
2
answers
293
views
Unable to connect to the remote Cassandra datacenter with the options provided in error
I'm trying to connect to two of my remote contact points using the Cassandra CqlSession class. I'm using spring boot 3.3.3 and spring-data-cassandra 4.3.3. Below are the datastax driver dependencies ...
-1
votes
1
answer
103
views
Connect multiple cassandra DB in spring boot application
Am trying to connect to multiple cassandra DB in springboot application,But when i ran cassandra query from repository class to get data from CassandraConfig2 am getting below error unconfigured table ...