1,571 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
80
views
Nodetool repair --full vs. repairedAt timestamp
Apache Cassandra 3.11 has incremental repair by default. If we run nodetool repair without "-full" will trigger incremental repair and a timestamp will be marked on repaired sstables.
We ...
0
votes
0
answers
29
views
Cassandra mismatch between nodetool getendpoints and cqlsh trace
I am trying to determine which nodes a specific piece of data is actually stored on, but I noticed that the results of nodetool getendpoints and cqlsh trace do not match.
Setup:
My Cassandra cluster ...
0
votes
1
answer
47
views
Problems setting up Cassandra to run Xunit tests with
I have some C# Xunit tests that require a Cassandra database to run against. I'm on Mac OS and I installed Cassandra locally using brew, using the command brew install cassandra. After it installed, I ...
0
votes
1
answer
181
views
Cannot import Cassandra GPG keys on Amazon Linux 2
Cassandra installation in the Amazon Linux 2 started failing from last one week which used to work previously. We updated the gpgkey to a new url but still getting the same error. The /etc/yum.repos.d/...
3
votes
1
answer
100
views
Keeping Data In Denormalized NoSql Databases (Cassandra/ScyllaDb) Tables In Sync?
I am new to NoSql databases like Cassandra/ScyllaDb and trying to wrap my head around NoSql database tables design and how to keep duplicated data in multiple tables in sync. I just read this post ...
0
votes
1
answer
250
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 ...
1
vote
1
answer
92
views
Cassandra Heap Size Setup for G1GC
According to official documents, it is recommended to set Cassandra max heap size as large as possible up to 64G for G1. Any reason why we are doing this? Does more heap size means better gc ...
-1
votes
1
answer
81
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 ...
0
votes
1
answer
35
views
Is repair still necessary if each node has 100% data ownership?
My cluster has 3 nodes with replication settings as below which means all data is replicated to each node.
CREATE KEYSPACE ks_name
WITH REPLICATION = {
'class': 'org.apache.cassandra.locator....
0
votes
2
answers
276
views
Does resetlocalschema resolve schema mismatch on mixed-versions during an upgrade?
Recently I tried to upgrade my Cassandra cluster (3 + 3) from Cassandra 3.0.15 to 4.1.0 in rolling upgrade manner.
I figured out that when a node with older version act as coordinator, it can't read ...
0
votes
3
answers
327
views
Cassandra not starting up on Windows 10
I am working on Windows 10 OS and I downloaded apache-cassandra-3.11.16. As requirement I installed Python 2.7 and Java 8.
Inside bin folder's cmd I ran Cassandra and server started without any ...
1
vote
1
answer
268
views
cqlsh with SSL returns PermissionError, SSLV3_ALERT_HANDSHAKE_FAILURE
Getting Error while connecting to cqlsh
bash-5.2# cassandra -v
3.11.5
bash-5.2# python --version
Python 3.11.8
bash-5.2# cqlsh --ssl --debug
Using CQL driver:
<module 'cassandra' from '/usr/share/...
1
vote
1
answer
98
views
Cassandra JDBC connection string for logstash
We are recently enabled mtls for cassandra database. After the change our logstash connection got broken, Now we wanted to test with latest cassandra driver but I didn't find the cassandra ssl ...
2
votes
2
answers
890
views
Allow filter in cassandra query
I have one table
CREATE TABLE user (
p1 int,
p2 int,
created_at timestamp,
user_name text,
c1 text,
PRIMARY KEY ((p1, p2),user_name)
) WITH additional_write_policy = '99p';
...
0
votes
1
answer
82
views
com.datastax.driver.core.exceptions.InvalidQueryException: Tried to execute unknown prepared query
com.datastax.driver.core.exceptions.InvalidQueryException: Tried to execute unknown prepared query . You may have used a PreparedStatement that was created with another Cluster instance
Facing this ...