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

How to get exact cql from statement using java api from datastax

My code directly executes the bound statement prepared without any exact query. Then how to get the cql it is trying to perform in cassandra database? For example: public void save(T entity) { if (entity != null) { Statement…
5
votes
2 answers

failed to start dse solr node

I'm trying datastax enterprise 4.8.4 on ubuntu. Installation is OK following the instructions. I can start a cassandra node with the command sudo service dse start. Then I want to try restart as a solr node on the same machine. So I edit the…
yang
  • 498
  • 5
  • 22
5
votes
1 answer

How insert in Cassandra without null value in Column

I'm trying to store some tweets in Cassandra Database using Python and DataStax driver ( Python -> Cassandra ). Everything works well, but there's something that I can't understand. How to insert a row without null value ? As example, CREATE TABLE…
Gohmz
  • 1,256
  • 16
  • 31
5
votes
2 answers

How to delete all the records from cassandra table without creating a snapshot

I am facing a problem with deleting all the records from a table. I can use Truncate table. But truncate would create a snapshot of the data which would be a wastage of storage space in my scenario. Also truncate would fail if any of the nodes are…
5
votes
1 answer

Using Datastax Java Driver to query a row as a JSON

I am trying to use the datastax java driver and retrieve the row as a JSON. I do the classic SELECT JSON * from myTable WHERE id=1 and this returns a Json formatted string on CQL. e.g { "uuid" : "12324567-...." } This works. Now when, I try to do…
5
votes
1 answer

cassandra 2.1 -> 3.0 upgrade restrictions

I'm trying to understand restrictions of upgrade from/to different versions of cassandra. On the one hand, Cassandra docs http://docs.datastax.com/en/upgrade/doc/upgrade/cassandra/upgradeC_c.html are saying "Cassandra 3.0.x restrictions: Upgrade…
5
votes
1 answer

How do I use inheritance when using the Datastax entity mapper for Cassandra?

I try using Cassandra for persisting quite simple POJOs, but using a class hierarchy (many subclasses, one superclass). I am using Java and the Datastax driver (and the object mapper). My problem is that the Object Mapper doesn't seem to recognize…
M156
  • 1,044
  • 1
  • 12
  • 29
5
votes
1 answer

What are native transport requests in Cassandra?

When looking at node details in Datastax OpsCenter: We can see that there were 34903422 "native-transport-requests", but 1072 were blocked. Could someone explain what is native transport request? What is that in relation to mutation? Is it normal…
piotrwest
  • 2,098
  • 23
  • 35
5
votes
2 answers

Cassandra uuid or text with uuid from Java

I was thinking, instead of creating Cassandra table with uuid column if I create a text column , at the end I am going to insert in it Java.util.uuid.random string. So what will be the difference performance wise if I use text in place of Cassandra…
5
votes
2 answers

delete multiple elements from a MAP in cassandra?

I have a field cat_to_pub with type as MAP. {1: '9-20-21', 2: '2-5-21', 4: '2-5-21', 5: '2', 6: '2', 9: '2-83-153-149', 11: '2-5-21-31', 29: '100', 32: '113-198-21'} I can delete an individual element from this MAP by using DELETE cat_to_pub[1]…
HIRA THAKUR
  • 17,189
  • 14
  • 56
  • 87
5
votes
1 answer

Cassandra - advantages of custom type

I am planning to use a Java object as a custom type and store it Cassandra. I am taking out 2 data members from the class and making them into primary key and keeping the rest of the data members in the custom type. data members of my class: name,…
summer
  • 139
  • 1
  • 10
5
votes
2 answers

Scala - Cassandra: cluster read fails with error "Can't use this Cluster instance because it was previously closed"

I'm getting this error when reading from a table in a 5 node cluster using datastax drivers. 2015-02-19 03:24:09,908 ERROR [akka.actor.default-dispatcher-9] OneForOneStrategy akka://user/HealthServiceChecker-49e686b9-e189-48e3-9aeb-a574c875a8ab…
Kasun Kumara
  • 61
  • 1
  • 4
5
votes
2 answers

Mutation of 17076203 bytes is too large for the maxiumum size of 16777216

I have "commitlog_segment_size_in_mb: 32" in the cassandra settings but the error below indicates maximum size is 16777216, which is about 16mb. Am I looking at the correct setting for fixing the error below? I am referring to this setting based on…
vrtx54234
  • 2,196
  • 3
  • 30
  • 53
5
votes
1 answer

Unable to add node via OpsCenter

When trying to add a node via OpsCenter 5.0.1 I get the following The Ec2Snitch is being used by this cluster. Provisioning nodes using this endpoint_snitch is not supported at this time. Which seems contrary to the instructions given here.
James Tyrrell
  • 363
  • 3
  • 10
5
votes
3 answers

cassandra - start accepting writes after nodetool drain

Once we do 'nodetool drain', what can we do to make it start accepting writes again? on node A I did nodetool drain. On another node B, when I run nodetool repair, it says: Cannot proceed on repair because a neighbor (/) is dead: session…
vrtx54234
  • 2,196
  • 3
  • 30
  • 53