Questions tagged [cassandra-3.0]

Cassandra 3.0 is a NoSQL database sponsored by Apache. Use this tag for questions relating to Cassandra versions from the 3.x release cycle.

Cassandra is a NoSQL database sponsored by Apache.

Cassandra 3.0 brings in some new, significant features including:

  • A CQL-centric storage model
  • materialized views

For more information, see Apache's release announcement.

Additionally, 3.0 marked the beginning of the new "tick-tock" release cycle being used by the Apache Cassandra dev team (Cassandra 2.2, 3.0, and Beyond). As of this writing, the Cassandra-3.0 tag should be used for versions 3.0.x, 3.1.x, and 3.2.x., as they have all come out in a relatively short period of time. New versions of 3.x will continue to surface monthly.

This tag should cover all of the 3.x versions, until the release of version 4.0. We should not need to create new tags as we did with Cassandra 2.0, 2.1, and 2.2. Those versions each represented significant changes in Cassandra. So while it made sense to create additional tags for Cassandra 2.x, the same is not true for 3.x.

1571 questions
30
votes
3 answers

What is the batch limit in Cassandra?

I have a Java client that pushes (INSERT) records in batch to Cassandra cluster. The elements in the batch all have the same row key, so they all will be placed in the same node. Also I don't need the transaction to be atomic so I've been using…
m.hashemian
  • 1,786
  • 2
  • 15
  • 31
20
votes
1 answer

Server-side warning: Aggregation query used without partition key

While using the C/C++ driver of Cassandra, I at times see these kind of messages popping up in my console: 1460937092.140 [WARN] (src/response.cpp:51:char* cass::Response::decode_warnings(char*, size_t)): Server-side warning: Aggregation…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
15
votes
3 answers

How to solve this error org.apache.spark.sql.catalyst.errors.package$TreeNodeException

I have two procesess each process do 1) connect oracle db read a specific table 2) form dataframe and process it. 3) save the df to cassandra. If I am running both process parallelly , both try to read from oracle and I am getting below error…
15
votes
12 answers

Cassandra: "cqlsh" line 145 except ImportError, e: ^ SyntaxError: invalid syntax

Installed cassandra 3.11.1 version in Windows 10 with jdk 1.8.0_151 and python 3.6. All paths available in environment variables. When I run cqlsh in command prompt, I get the below error: File "C:\Cassandra\bin\\cqlsh.py", line 145 except…
Vaibhav Gupta
  • 353
  • 1
  • 2
  • 17
15
votes
1 answer

Upgrading Cassandra from 2.2 to 3.0 in RHEL

I have a RHEL 7.0 server running Cassandra 2.2.3 which I tried to upgrade to 3.0. When I run yum update it showed me there is a new version of Cassandra for update, and upgraded the server to 2.2.4-1, but not 3.0. Now if I search yum for dsc30 I can…
m.hashemian
  • 1,786
  • 2
  • 15
  • 31
14
votes
5 answers

Cassandra Windows 10 Access Violation

EDIT: Although yukim's workaround does work, I found that by downgrading to JDK 8u251 vs 8u261, the sigar lib works correctly. Windows 10 x64 Pro Cassandra 3.11.7 NOTE: I have JDK 11.0.7 as my main JDK, so I override JAVA_HOME and PATH in the…
SledgeHammer
  • 7,338
  • 6
  • 41
  • 86
13
votes
10 answers

Cassandra 3.0 and later require Java 8u40 or later

I'm trying to run cassandra 3.0 in datastax. But i'm getting an error saying Cassandra 3.0 and later require Java 8u40 or later. I have installed java and moved the jdk1.8.0_65 to /usr/local/java and set JAVA_HOME to…
Nandakishore
  • 981
  • 1
  • 9
  • 22
11
votes
2 answers

Cassandra Batch statement-Multiple tables

I want to use batch statement to delete a row from 3 tables in my database to ensure atomicity. The partition key is going to be the same in all the 3 tables. In all the examples that I read about batch statements, all the queries were for a single…
Vishal Sharma
  • 1,670
  • 20
  • 55
11
votes
1 answer

NoSpamLogger.java Maximum memory usage reached Cassandra

I have a 5 node cluster of Cassandra, with ~650 GB of data on each node involving a replication factor of 3. I have recently started seeing the following error in /var/log/cassandra/system.log. INFO [ReadStage-5] 2017-10-17 17:06:07,887…
Varsha
  • 259
  • 1
  • 2
  • 10
11
votes
1 answer

Cassandra Wide Row/Dynamic Columns

I'm new to NoSQL; so, I'm trying to understand some of the Cassandra concepts that I can't really get from the dozens of sources that I have studied. Should I consider wide row, and dynamic columns as synonyms; or are they 2 different concepts? Am…
user1888243
  • 2,591
  • 9
  • 32
  • 44
11
votes
2 answers

Cassandra : Batch write optimisation

I get bulk write request for let say some 20 keys from client. I can either write them to C* in one batch or write them individually in async way and wait on future to get them completed. Writing in batch does not seem to be a goo option as per…
Peter
  • 2,719
  • 4
  • 25
  • 55
10
votes
2 answers

SASI index in Cassandra and How it differs from normal indexing

I started using SASI indexing and used the following setup, CREATE TABLE employee ( id int, lastname text, firstname text, dateofbirth date, PRIMARY KEY (id, lastname, firstname) ) WITH CLUSTERING ORDER BY (lastname ASC,…
Harry
  • 3,072
  • 6
  • 43
  • 100
9
votes
1 answer

Cassandra + SpringBoot, java.lang.ClassNotFoundException: com.datastax.oss.protocol.internal.SegmentCodec

I'm trying to create a Spring application using Cassandra DB. But getting following error when I try to run the application. Caused by: java.lang.NoClassDefFoundError: com/datastax/oss/protocol/internal/SegmentCodec ... 103 common frames…
9
votes
3 answers

Cannot start node if snitch's data center (...) differs from previous data center (...)

I'm trying to start DSE 5.0.1 Cassandra (single node) on my local. I'm getting the following error: CassandraDaemon.java:698 - Cannot start node if snitch's data center (Cassandra) differs from previous data center (Graph). Please fix the snitch…
saysiva
  • 810
  • 1
  • 7
  • 11
8
votes
2 answers

How default_time_to_live would delete rows without tombstones in Cassandra?

From How is data deleted? Cassandra allows you to set a default_time_to_live property for an entire table. Columns and rows marked with regular TTLs are processed as described above; but when a record exceeds the table-level TTL, Cassandra deletes…
gabrielgiussi
  • 9,245
  • 7
  • 41
  • 71
1
2 3
99 100