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 can I get size of blob column of cassandra using user defined functions?

I was trying cqlsh:my_keyspace> CREATE FUNCTION IF NOT EXISTS len(input blob) CALLED ON NULL INPUT RETURNS int LANGUAGE java AS ' return input.length();'; Error: InvalidRequest: Error from server: code=2200 [Invalid query] message="Java source…
Abhishek A
  • 93
  • 1
  • 5
5
votes
1 answer

Can we monitor Cassandra schema disagreement using JMX

I know that nodetool describecluster can give me information about schema disagreements in cassandra . But, i am looking to see if that information is available via JMX .If it is available can some one point me fully-qualified package/metric name…
Dhyan
  • 551
  • 2
  • 6
  • 15
5
votes
4 answers

DataStax DevCenter stuck on Startup

I just installed DataStax DevCenter. However when loading up, the Automatic Update & Usage page pops up. However the "Ok" button is disabled and unclickable. So I can't get pass the startup loading of the application. How can I bypass this? Click…
chubbychu
  • 333
  • 2
  • 7
  • 17
5
votes
1 answer

Trying to use Guid from C# as primary key in Cassandra

I am currently working on my NoSQL project and I have two databases Cassandra and Redis (I am using Redis for caching). Now with Redis I have one list and I serialize my custom object using DataContract, but when it comes to Cassandra I am…
nikjov92
  • 112
  • 9
5
votes
4 answers

Cassandra: Command Not Found

I am currently working on the Cassandra tutorials about data modeling. I cannot understand why whenever I try to run the cassandra service from the bin folder I receive the error: "Cassandra: command not found". The same happens if I try to run…
npof75
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

Cassandra Nodetool status not working: AttributeNotFoundException: No such attribute: EndpointToHostId

I am getting the following Exception when I run nodetool status on my Cassandra nodes. I am using DSE 4.7, any idea what could be the issue. All the nodes are running the same version of the DSE -bash-4.1$ nodetool status error: No such attribute:…
5
votes
2 answers

Does cassandra flush memtables on nodetool stopdaemon. If not what to do to avoid data loss

I am using apache-cassandra-3.10 I understand instead of kill -9 pid, the only way to stop cassandra gracefully is nodetool stopdaemon. But I want to know if nodetool stopdaemon also flushes the data in the memtables to sstables before shutdown. If…
Syed Ammar Mustafa
  • 373
  • 1
  • 7
  • 18
5
votes
1 answer

Empty server response with cntlm proxy and basic auth params in url for yum repo

I am using cntlm proxy on a CentOs 7 server behind a corporate proxy which needs an authentication. Here is my cntlm.conf file : Username user Domain dom Auth NTLMv2 PassNTLMv2 ********** Proxy corporateproxy:8080 NoProxy …
MrCitron
  • 51
  • 4
5
votes
1 answer

Using cqlsh with ssl

I have enabled ssl encryption in my cassandra node and I am trying to figure out how to connect to my node using cqlsh with ssl: When I run ./cqlsh --ssl I get the following error: Validation is enabled; SSL transport factory requires a valid…
user1692342
  • 5,007
  • 11
  • 69
  • 128
5
votes
2 answers

Cassandra version upgrade from 2.0.9 to 2.2

We are planning to upgrade our cluster which currently runs on 2.0.9 to 2.2.6. According to the documentation and some blogs people upgrade cassandra inplace ie remove a node from ring upgrade it and add it back again. We are skeptical of following…
johri21
  • 153
  • 1
  • 9
5
votes
1 answer

what is the use of JVM_OPTS="$JVM_OPTS -Dcassandra.consistent.rangemovement=false

Can anyone explain what is the use of -JVM_OPTS="$JVM_OPTS -Dcassandra.consistent.rangemovement=false" What is the default setting and how does it effect multiple nodes joining a…
5
votes
2 answers

Insert BigInt in cassandra from node js

I have a very simple table in cassandra. Name: test Columns : id ( bigint, primary key)name (text) I am trying to insert into values into this using nodejs (using cassandra-driver) client.execute("insert into test (id, name) values (?, ?)", [123,…
Sachin
  • 3,350
  • 2
  • 17
  • 29
5
votes
3 answers

java.lang.NoClassDefFoundError: Could not initialize class com.datastax.driver.core.Cluster

I have a maven project A pom.xml for the project A : com.app.cops cassandra-logging 0.0.1-SNAPSHOT
Prasad Shinde
  • 652
  • 2
  • 8
  • 21
5
votes
1 answer

High disk I/O on Cassandra nodes

Setup: We have 3 nodes Cassandra cluster having data of around 850G on each node, we have LVM setup for Cassandra data directory (currently consisting 3 drives 800G + 100G + 100G) and have separate volume (non LVM) for…
5
votes
2 answers

Batch insertion using object mapper in Cassandra

Using cassandra object mapper api wanted to do a batch persist. for single object it's working fine. Mapper mapper = new MappingManager(getSession()).mapper(MyObj.class); mapper.save(myObj); For batch update I tried in this way, but ideally…
lambodar
  • 3,495
  • 5
  • 34
  • 58