Questions tagged [datastax]

DataStax Enterprise is big data platform consisting of open source tools such as Apache, Cassandra, Solr and Hadoop (and several others).

DataStax Astra simplifies cloud-native application development, and reduces time to deploy Apache Cassandra and scale from days to minutes. DataStax Astra eliminates the operational overhead of using Apache Cassandra, the open-source NoSQL database behind the largest applications in the world. Learn more on datastax.com/dev about new APIs for REST, schemaless document-style JSON, and GraphQL APIs for Cassandra - available with the Astra cloud service and stargate.io for standalone Cassandra.

For those who prefer self-managed technology, DataStax Enterprise (DSE) is a big data platform that provides a version of Cassandra enhanced with enterprise security features and that adds support for more workload types such as graph, search, and analytics. DataStax Enterprise enables companies to build transformational data architectures for applications, microservices and experiences that require data sovereignty, availability, scale, agility, and accessibility by any user.

2409 questions
66
votes
11 answers

How to obtain number of rows in Cassandra table

This is a super basic question but it's actually been bugging me for days. Is there a good way to obtain the equivalent of a COUNT(*) of a given table in Cassandra? I will be moving several hundreds of millions of rows into C* for some load testing…
Evan Volgas
  • 2,900
  • 3
  • 19
  • 30
46
votes
4 answers

What are the differences between a node, a cluster and a datacenter in a cassandra nosql database?

I am trying to duplicate data in a cassandra nosql database for a school project using datastax ops center. From what I have read, there is three keywords: cluster, node, and datacenter, and from what I have understand, the data in a node can be…
enjazweb
  • 473
  • 1
  • 5
  • 6
41
votes
6 answers

How can I find out which version of Cassandra a specific DSE is running?

So far, I haven't found a place on Datastax documentation website that sums this up. Can I easily check the version some other way on a server?
Ztyx
  • 14,100
  • 15
  • 78
  • 114
41
votes
4 answers

Write timeout thrown by cassandra datastax driver

While doing a bulk load of data, incrementing counters based on log data, I am encountering a timeout exception. Im using the Datastax 2.0-rc2 java driver. Is this an issue with the server not being able to keep up (ie server side config issue), or…
Jay
  • 19,649
  • 38
  • 121
  • 184
28
votes
7 answers

Apache Cassandra vs Datastax Cassandra

Is Datastax Cassandra the only available Cassandra that can be used in a production environment? Is there any free alternatives available? What about the cassandra available on Apache site?
l a s
  • 3,836
  • 10
  • 42
  • 61
26
votes
2 answers

com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces

I am trying to configure spring data with cassandra. But I am getting bellow error , when my app is deploying in tomcat. When I check the connection, it is available to the given port. (127.0.0.1:9042). I have include stack trace and spring…
Harsha
  • 400
  • 1
  • 5
  • 16
21
votes
3 answers

How can I restore Cassandra snapshots?

I'm building a backup and restore process for a Cassandra database so that it's ready when I need it, and so that I understand the details in order to build something that will work for production. I'm following Datastax's instructions…
Don Branson
  • 13,631
  • 10
  • 59
  • 101
18
votes
3 answers

Cassandra CQL Select count with LIMIT

I created a simple tabe: CREATE TABLE test ( "type" varchar, "value" varchar, PRIMARY KEY(type,value) ); I inserted 5 rows into it: INSERT INTO test(type,value) VALUES('test','tag1') INSERT INTO test(type,value) VALUES('test','tag2') INSERT…
light
  • 4,157
  • 3
  • 25
  • 38
18
votes
1 answer

cannot connect to cassandra docker with cqlsh

I'm run Cassandra docker container: docker pull cassandra run --name cassandra -p 9042:9042 -p 9160:9160 -d cassandra The netstat -tpln is: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name LISTEN - tcp6 0 …
Alexandre Kalendarev
  • 681
  • 2
  • 10
  • 24
18
votes
8 answers

Can't connect to cassandra node from different host

I have a cassandra node at a machine. When I access cqlsh from the same machne it works properly. But when I tried to connect to it's cqlsh using "192.x.x.x" from another machine, I'm getting an error saying Connection error: ('Unable to connect to…
Chamila Wijayarathna
  • 1,815
  • 5
  • 30
  • 54
17
votes
2 answers

Max. size of wide rows?

Theoretically, Cassandra allows up to 2 billion columns in a wide row. I have heard that in reality up to 50.000 cols/50 MB are fine; 50.000-100.000 cols/100 MB are OK but require some tuning; and that one should never go above 100.000/100 MB…
tbsalling
  • 4,477
  • 4
  • 30
  • 51
16
votes
1 answer

Can I force cleanup of old tombstones?

I have recently lowered gc_grace_seconds for a CQL table. I am running LeveledCompactionStrategy. Is it possible for me to force purging of old tombstones from my SSTables?
Ztyx
  • 14,100
  • 15
  • 78
  • 114
15
votes
3 answers

NoNodeAvailableException: No node was available to execute the query

I am not using Elasticssearch. I am trying to perform some database operations in cassandra using CQL. I am using threads. While running the code I am always getting the exception in thread after a while :…
SDt
  • 432
  • 1
  • 4
  • 10
15
votes
4 answers

Can't start Cassandra after OS patch up

When I try to start Cassandra after patching my OS, I get this error: Exception (java.lang.AbstractMethodError) encountered during startup:…
chris
  • 253
  • 2
  • 5
14
votes
4 answers

CQLSH client - module' object has no attribute 'parse_options

I'm trying to access my Cassandra server through a CQLSH client to import a huge CSV file. I'm getting a module' object has no attribute 'parse_options error. I run the follow command: cqlsh XXX.XXX.XX.XX XXXX --cqlversion="3.4.2" --execute="copy…
Andre Garcia
  • 894
  • 11
  • 30
1
2 3
99 100