Casandra 2.1 is a NoSQL database sponsored by Apache. Use this tag for question specifically for version 2.1.
Questions tagged [cassandra-2.1]
396 questions
2
votes
1 answer
Map type read latency
First of all thanks to everyone here who answers all our queries.
I am stucked in one of the points I hope people can get me out of my problem.
I have Apache 2.1 Cluster with 6 nodes and I have created a table with 3 columns..1st column as text type…

john cena
- 41
- 4
2
votes
1 answer
How to save data in cassandra conditionally only if properties did not change
We have data model of article with lot of properties. Here is our table model:
CREATE TABLE articles (
organization_id bigint,
gtin text,
barcodes text,
code text,
brand text,
season text,
name text,
option text,
…

Nenad Bozic
- 3,724
- 19
- 45
2
votes
1 answer
cassandra client received duplicated events
I'm using cassandra 2.1.2 and datastax cassandra-driver-core-2.1.2. Here is a strange problem: when a keyspace is created ( or table created, deleted), some of my clients received duplicated events, about 200+ times. my cluster and my clients are in…

高健峰
- 21
- 2
2
votes
1 answer
Cassandra cluster key usage
I'm banging my head on this, but, frankly speaking, my brains won't get it - or so it seems.
I have a column family that holds jobs for a rather large group of actors. It is a central job management and scheduling table that must be distributed and…

siliconchris
- 613
- 2
- 9
- 22
2
votes
1 answer
Cassandra GC takes 30 seconds and hangs node
Environment
I have a following environment:
Cassandra 2.1.0
5 nodes in one DC, 4 nodes in second DC
2500 writes per seconds
minimal reads (usually none, sometimes few)
Problem
After a long running node, GC starts to take longer and longer, until…

Piotr Stapp
- 19,392
- 11
- 68
- 116
1
vote
1 answer
NoSuchMethodError: org.apache.cassandra.db.ColumnFamilyStore.getOverlappingSSTables
I have upgraded one of cluster node from 2.2.19 to 3.11.13, but I'm continuously getting the below error in system logs. I'm using TimeWindowCompactionStrategy-3.7.jar
Please let me know how can I fix this error ?
ERROR [CompactionExecutor:2338]…

Solver
- 11
- 1
1
vote
2 answers
Hints during cassandra version upgrade from 2.1.17 to 3.0.15
I was trying to upgrade 4 nodes in a Cluster.
DC1 had nodes N1 and N2
DC2 had nodes N3 and N4
App server is connected to N1 and N2 nodes.
RF = {DC1: 2, DC: 2}
DC2 nodes where upgraded to 3.0.15 first. There were inconsistency in data in DC2 as was…

Sahil Ummer
- 455
- 1
- 2
- 9
1
vote
1 answer
Querying on cassandra consumes CPU
Connecting to Cassandra from application code and querying consumes Cassandra's CPU.
My query is like :: select fields from table where partition_key = "PARTITION_KEY" and clustering_key_1 = "KEY1" and clustering_key_2 in (a1, a2, a3..a100);
I am…

Shiva Prasad
- 33
- 1
- 5
1
vote
1 answer
Cassandra read consistency is one, but node connects to another node
3 node cluster and RF of 3 means every node has all the data. Consistency is ONE.
So when queried for some data on node-1, ideally as node-1 has all the data it should be able to complete my query.
But when I checked how my query is running using…

Shiva Prasad
- 33
- 1
- 5
1
vote
1 answer
Cassandra nodes are continuously throwing this error
I have 6 nodes Cassandra cluster where 3 are data nodes and 3 are seed nodes
they all are using Cassandra version 3.7
below are the exceptions which I am getting on data nodes :
java.lang.IllegalStateException: Unable to compute ceiling for max when…

Ankur Jha
- 41
- 1
- 5
1
vote
1 answer
How write in cassandra works in terms of commitlog_segment_size_in_mb?
We caught the error "Mutation of 17156436 bytes is too large for the maximum size of 16777216" in Cassandra.
I understand, we should increase the commitlog_segment_size_in_mb to 64 mb as mutation usually use 1/2 of commilog_segment_size and we were…

Mukesh Kumar
- 51
- 5
1
vote
0 answers
How to configure Fluentd configuration file for sending logs to Kafka?
I've been working to create a syslog application in which I have to collect different kinds of logs generated using Fluentd and send them to Cassandra for analysis later on. I have to use Kafka as a kind of buffer or a stream processor. For using…

Sarthak Pundir
- 81
- 1
- 10
1
vote
1 answer
How to Restore 2 DC cluster, 3 Node on each cluster to 1 DC and 3 node cluster
Please let me know how can we restore 2 DC cluster ( 3 node on each cluster ) to 1 DC cluster ( 3 node only). We also wants some specific keyspace to be restore on 1 DC cluster ( 3 node).
Thanks in advance.
Cheers,
Mukesh kumar

Mukesh Kumar
- 51
- 5
1
vote
1 answer
How to connect Cassandra over ssl using connection properties(url properties)
I have truststore and keystore files and every information related to the cassandra account. There is a limitation with the application that i use to connect to cassandra as it doesn't provide me the option to specify my truststore and keystore…

Nazer Syed
- 11
- 1
1
vote
0 answers
In cassandra udf i am parsing date as saumya.text2dt('2019-01-16 13:10:44.000') and output is like 2019-10-16 07:30:00.000000+0000
My Cassandra User defined function:-
CREATE OR REPLACE FUNCTION text2dt ( input text )
RETURNS NULL ON NULL INPUT
RETURNS timestamp
LANGUAGE java
AS '
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd…

Saumya Ranjan
- 75
- 1
- 3
- 11