Questions tagged [cassandra-2.1]

Casandra 2.1 is a NoSQL database sponsored by Apache. Use this tag for question specifically for version 2.1.

396 questions
5
votes
2 answers

Count of List values in spark - dataframe

In cassandra I have a list column type. I am new to spark and scala, and have no idea where to start. In spark I want get count of each values, is it possible to do so. Below is the dataframe +--------------------+------------+ | …
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

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

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

cassandra: Error opening zip file or JAR manifest missing : /usr/share/cassandra/lib/jamm-0.2.6.jar

I am working on [cqlsh 5.0.1 | Cassandra 2.1.1 | CQL spec 3.2.0 | Native protocol v3] from last 5 month on centOS 7 server. Unfortunately server got off. After that i am trying to restart the cassandra. $ cassandra But got the error Error opening…
Mrunal Kanti Roy
  • 453
  • 8
  • 13
5
votes
1 answer

CQL with a wide row - how to get most recent set?

How would I write the CQL to get the most recent set of data from each row? I'm investigating transitioning from MSSQL to Cassandra and am starting to grasp the concepts. Lots of research has help tremendously, but I haven't found answer to this (I…
4
votes
2 answers

what are the difference between the data back up using nodetool and cqlsh copy command?

Currently we have two options to take data back up of the tables in a Cassandra keyspace. We can either user nodetool commands or use the copy command from the cqlsh terminal. 1) What are the differences between these commands ? 2) Which one is most…
Globe Admin
  • 431
  • 1
  • 7
  • 13
4
votes
2 answers

What is the meaning of OneMinuteRate in JMX?

I am trying to calculate the Read/second and Write/Second in my Cassandra 2.1 cluster. After searching and reading, I came to know about JMX bean org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Latency Here I can see…
AIR
  • 817
  • 12
  • 24
4
votes
1 answer

Cassandra upgrade issue(could not initialize SIGAR library)

after upgrading from 2.1.13 to 2.2.9,I noticed the following info in system.log: INFO [main] 2017-04-25 10:43:30,073 SigarLibrary.java:44 - Initializing SIGAR library INFO [main] 2017-04-25 10:43:30,084 SigarLibrary.java:57 - Could not initialize…
peng xiao
  • 41
  • 5
4
votes
0 answers

Cassandra Titan/JanusGraph atomicity

We are planning to use combination of Cassandra and Titan/JanusGraph db as the backend for one of our projects. As part of that, I have the below requirement. Record/Vertex A and Record/Vertex B should be written onto the backend in an atomic way,…
user2896235
  • 339
  • 3
  • 17
4
votes
4 answers

Read & write data into cassandra using apache flink Java API

I intend to use apache flink for read/write data into cassandra using flink. I was hoping to use flink-connector-cassandra, I don't find good documentation/examples for the connector. Can you please point me to the right way for read and write data…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
4
votes
1 answer

How do I disable incremental repair?

I have a cluster which I am considering enabling incremental repair on. If anything goes wrong I'd like to disable incremental repair on every node. How do I do that?
Ztyx
  • 14,100
  • 15
  • 78
  • 114
4
votes
1 answer

Cassandra eats memory

I have Cassandra 2.1 and following properties set: MAX_HEAP_SIZE="5G" HEAP_NEWSIZE="800M" memtable_allocation_type: heap_buffers top utility shows that cassandra eats 14.6G virtual memory: KiB Mem: 16433148 total, 16276592 used, 156556 free, …
Mikhail Tsaplin
  • 642
  • 1
  • 9
  • 21
4
votes
4 answers

Cassandra query logging through spring configuration

is there any easy way to turn on query logging on cassandra through xml configuration? I'm using namespace: xmlns:cassandra="http://www.springframework.org/schema/data/cassandra" but I can't find any suitable solution. I was trying to turn on trace…
Marcin Erbel
  • 1,597
  • 6
  • 32
  • 51
4
votes
2 answers

Cassandra data clone to another cassandra database(different servers)

My question is above mentioned, have a cassandra database and wanted to use another server with this data. How can i move this all keyspace's data? I have snapshots but i dont know can i open it to another server. Thanks for your helps
Beyhan Gul
  • 1,191
  • 1
  • 15
  • 25
1
2
3
26 27