cassandra Questions

2

I have a Cassandra Customers table which is going to keep a list of customers. Every customer has an address which is a list of standard fields: { CustomerName: "", etc..., Address: { street: ...
Upthrust asked 30/7, 2015 at 15:1

8

Solved

I am using Spring Boot 2.4.4 and Spring Data Cassandra dependency to connect to the Cassandra database. During the application startup, I am getting a DriverTimeout error (I am using VPN). I have g...
Zirconia asked 22/4, 2021 at 16:57

6

What is the most efficient way of inserting multiple rows in cassandra column family. Is it possible to do this in a single call. Right now my approach is to addinsert multiple column and then exe...
Signboard asked 26/7, 2013 at 15:22

3

I have been reading a lot about Apache Avro these days and I am more inclined towards using it instead of using JSON. Currently, what we are doing is, we are serializing the JSON document using Jac...
Hendiadys asked 15/9, 2013 at 3:26

16

Solved

I'm new in cassandra, and I have to export the result of a specific query to a csv file. I found the COPY command, but (from what I understand) it allows you only to copy an already existing table...
Tenno asked 13/11, 2014 at 12:56

2

Solved

Has anyone had any success with connecting to a Cassandra cluster using DBeaver Community Edition? I've tried to follow this post, but haven't had any success. I have to have authentication enabled...
Yarber asked 2/9, 2021 at 8:57

8

Solved

I want to experiment with using Cassandra as an event store in an event sourcing application. My requirements for an event store are quite simple. The event 'schema' would be something like this: ...
Refutation asked 11/10, 2013 at 15:20

6

I am trying to have JDK 8 run with cassandra 3.x in my dev-setup Mac with M1Pro Chip. Arm64 jdk-8 is currently unavailable currently.
Tajuanatak asked 27/6, 2022 at 9:30

11

Solved

I have been reading articles around the net to understand the differences between the following key types. But it just seems hard for me to grasp. Examples will definitely help make understanding b...
Destalinization asked 25/7, 2014 at 6:49

3

I am on a Mac OS and I run cassandra -f and immediately this happens: [0.002s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/usr/local/apache-cassandra-3.0.10/logs/gc.log instead. Unrecog...
Intoxicative asked 29/1, 2019 at 4:56

3

Solved

In SQL, I am able to do: select getdate(), getdate() - 7 Which returns the current date as well as current date - 7 days. I want to achieve the same in Cassandra CQL. I tried: select dateof(now...
Vaudevillian asked 26/3, 2015 at 6:58

1

I am trying to use spark cassandra connector to fetch values from the table. The load() yields the IncompatibleClassChangeError. My development environment is defined as follows, Intellij : 2019.3....

4

Long story short, I want to install Apache Cassandra on a MacBook Pro with M1 chipset. In order to install it, one must install other softwares before, one of them being python which must be update...
Stink asked 26/8, 2021 at 9:25

6

How to import and export schema from Cassandra or Cassandra cqlsh prompt?
Sheila asked 8/5, 2013 at 12:24

2

I understand the basic difference between LOGGED and UNLOGGED batches in Cassandra in terms of atomicity. Essentially, LOGGED batches are atomic while UNLOGGED are not. This means that all statemen...
Calvinna asked 26/12, 2014 at 16:23

5

Solved

I'm studying distributed systems and referring to this old question: stackoverflow link I really can't understand the difference between exactly-once, at-least-once and at-most-once guarantees, I ...
Must asked 26/5, 2017 at 15:15

3

Solved

I am trying to edit cassandra.yaml which is inside docker container at /etc/cassandra/cassandra.yaml, I can edit it from logging inside the container, but how can i do it from host?
Baseball asked 29/6, 2018 at 23:1

3

Solved

After installing cassandra driver by running the command: sudo pip3 install cassandra-driver, I am getting the error ModuleNotFoundError: No module named 'cassandra' when I try to import the module...
Tenorite asked 12/1, 2019 at 19:15

3

When installing Cassandra on Docker on Linux Lite after entering: curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - then I get: gpg: no valid OpenPGP data found.
Eda asked 7/6, 2020 at 20:32

2

Solved

How do you rename a live Cassandra keyspace through the cassandra-cli? Previous versions had an option in cassandra-cli ("rename keyspace"). However, that option has been dropped in recent releases...
Raguelragweed asked 4/10, 2011 at 14:1

5

I'm running Cassandra 3.7 in a 24 node cluster with 3 data centers and 256 vnodes per node, and each node uses a cron job to run "nodetool repair -pr" once a day during a different hour of the day ...
Studley asked 7/7, 2016 at 15:15

7

Solved

Maybe it is a stupid question, but I'm not able to determine the size of a table in Cassandra. This is what I tried: select count(*) from articles; It works fine if the table is small but once i...
Unhappy asked 20/4, 2016 at 12:44

4

Solved

I have full access to the Cassandra installation files and a PasswordAuthenticator configured in cassandra.yaml. What do I have to do to reset admin user's password that has been lost, while keepin...
Groundsheet asked 23/8, 2013 at 9:7

2

Solved

The question is which Cassandra Python driver is better to use with aiohttp web framework. Currently, there are two possible candidates: cassandra-driver by DataStax aiocassandra The thing is, ca...
Kerguelen asked 17/5, 2018 at 15:7

3

Solved

I'm trying to replicate a SQL database in Cassandra, but, while I had no problem creating the tables, I found that I cannot find an example easy to understand that shows how I can create foreign ke...
Aldana asked 28/12, 2014 at 13:46

© 2022 - 2025 — McMap. All rights reserved.