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
6
votes
1 answer

Cassandra partition key parts are missing

I'm following the Cassandra java object mapper tutorial on Datastax website. and while defining accessors @Query("SELECT * FROM testks.user ") Result getAll(); running this query give me a…
Pita
  • 1,444
  • 1
  • 19
  • 29
6
votes
2 answers

What happens when all seed nodes in Cassandra are down? Can new nodes join the cluster at that point?

What happens when all seed nodes in Cassandra are down? Can new nodes join the cluster at that point ?
RDR
  • 473
  • 4
  • 15
6
votes
3 answers

Is there an elegant way to perform a JSON update via CQL (Cassandra)?

I would (ideally) like to update a row in Cassandra utilizing pure JSON (e.g., analogous to the "INSERT INTO JSON '';" CQL statement). However, it does not appear that such functionality exists via the CQL UPDATE…
Darwin Airola
  • 919
  • 8
  • 11
6
votes
1 answer

How to list all materialized view tables in Cassandra CQL

How to list all materialized view tables in Cassandra CQL [cqlsh 5.0.1 | Cassandra 3.0.7.1158 | DSE 5.0.0 | CQL spec 3.4.0 | Native protocol v4]
Sk_
  • 1,051
  • 8
  • 18
6
votes
6 answers

Detected Guava issue #1635 which indicates that a version of Guava less than 16.01 is in use

I am running spark job on emr and using datastax connector to connect to cassandra cluster. I am facing issues with the guava jar please find the details as below I am using below cassandra deps cqlsh 5.0.1 | Cassandra 3.0.1 | CQL spec 3.3.1…
Karn_way
  • 1,005
  • 3
  • 19
  • 42
6
votes
2 answers

Cassandra Exception Cache schema version X does not match current schema version Y

We had DataStax Cassandra Community Server 3.0.2 installed on our boxes, got couple of keyspaces created and we migrated some data from our old DB to Cassandra (Aroudnd 10GB of data). While, that was migration was happening we created materialized…
Learner
  • 1,685
  • 6
  • 30
  • 42
6
votes
2 answers

datastax opscenter agents not installing

I'm running my own version of cassandra on 127.0.1.1. I changed the rpc_address and also the address to 127.0.1.1. When I'm starting Opscenter I'm prompted to install agents and I'm doing so by the recommended Fix now option. But when I try to…
HackCode
  • 1,837
  • 6
  • 35
  • 66
6
votes
1 answer

Cassandra Query Failures: All host(s) tried for query failed (no host was tried)

I am not able to do queries against the Cassandra Node. I am able to make the connection to the cluster and connect. However while doing the the query, it fails Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s)…
im2kul
  • 297
  • 1
  • 3
  • 13
6
votes
2 answers

Installing php datastax driver on ubuntu

I am trying to install the datastax php driver for Cassandra and when i run the following command: pecl install ext/package.xml after checking it out of git i get the following message: configure: error: Unable to load libcassandra ERROR:…
Moshi
  • 77
  • 1
  • 10
6
votes
4 answers

Converting cassandra blob type to string

I have an old column family which has a column named "value" which was defined as a blob data type. This column usually holds two numbers separated with an underscore, like "421_2". When im using the python datastax driver and execute the query,…
idoda
  • 6,248
  • 10
  • 39
  • 52
6
votes
2 answers

How will i know that record was duplicate or it was inserted successfully?

Here is my CQL table: CREATE TABLE user_login ( userName varchar PRIMARY KEY, userId uuid, fullName varchar, password text, blocked boolean ); I have this datastax java driver code PreparedStatement prepareStmt=…
Manish Kumar
  • 10,214
  • 25
  • 77
  • 147
6
votes
4 answers

Datastax Cassandra without root

I am trying to install and run the Datastax cassandra community edition on Redhat Linux but I don't have root privileges. I extracted the tar in my home directory but I'm unable to do ./cassandra I am doing this on a HPC cluster and thought I'd…
yogk
  • 271
  • 5
  • 15
6
votes
2 answers

Cassandra node is unable to start after a HDD failure

I have a 5 node Cassandra 2.0.7 cluster, each node has 4 HDDs. Recently one of these HDDs on node3 had failed and was replaced by a new shiny empty drive. After the replacement cassandra on this node was unable to start with this exception: INFO…
shutty
  • 3,298
  • 16
  • 27
6
votes
1 answer

Getting correct timestamp from cassandra using datastax python-driver

I am retrieving timestamps from a table using the datastax python-driver. What I am trying to do is store the previously retrieved timestamp in a var and use it in the next query to retrieve a timestamp greater than the previous one. The query…
quicksilvermd
  • 103
  • 1
  • 6
5
votes
2 answers

Alternative to Batch Statements in Cassandra for atomic operation to avoid performance impact

We have an application which uses Cassandra as data store. For easy access, same data need to be stored in multiple tables with different partition keys. For storing data into multiple tables BatchStatements are used. Reason for using batch…
user1401472
  • 2,203
  • 3
  • 23
  • 37