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
0
votes
2 answers

How to execute multiple queries in a single batch on Cassandra

I have a Cassandra table as below: create table experience.userstats (stream varchar, user varchar, computer varchar, experience varchar, amount int, primary key (experience, stream, user, computer); I am using Apache storm bolts to create these…
user2593973
0
votes
1 answer

sstable2json error -- nonexistent keyspace

I trying to debug tombstone issue on 2.1.14, when I run sstable2json throws an error -- nonexistent keyspace: . this ks does exists in the database .. any thoughts on debugging this issue?
SBC
  • 125
  • 2
  • 11
0
votes
1 answer

Hazelcast Write Behind using Cassandra

I am using Cassandra as a persistent store along with Hazelcast 3.6.For a rest API(POST). The Mapstore Implementation is as shown below. import java.util.Collection; import java.util.HashMap; import java.util.Map; import…
user2966021
  • 423
  • 1
  • 7
  • 20
0
votes
0 answers

Java heap space And I already extended my Java heap size to -Xmx1024m

I have year set of years-2013 to 2016.monthset like Jan-Dec. and i have to get data month wise from 10000 rows/records data But it gives java.lang.OutOfMemoryError: Java heap space . Help me whats wrong in below logic. for (Integer year : yearSet)…
Shrikant
  • 11
  • 4
0
votes
1 answer

Best practices on upgrading cassandra

I am getting errors from pyspark connecting to cassandra because it appears I am using a too old a cassandra: [idf@node1 python]$ nodetool -h localhost version ReleaseVersion: 2.0.17 [idf@node1 python]$ [idf@node1 cassandra]$ java…
Ivan
  • 7,448
  • 14
  • 69
  • 134
0
votes
2 answers

Updates in cassandra

Cassandra data modeling respects "Denormalization and duplication of data is a fact of life with Cassandra". But one of the cons for demormalized data is making the updates very hard. For example, if I have three tables catering for different…
Hammer
  • 8,538
  • 12
  • 44
  • 75
0
votes
1 answer

Unable to run Cassandra on Kubernetes

I'm trying to run Cassandra on kubernetes. One thing I understood is Cassandra is trying to access kubernetes api server on port 443 (Secure Connection) but I'm running api server on non secure connection port 8080. Also there is Has no permission…
sravis
  • 3,562
  • 6
  • 36
  • 73
0
votes
1 answer

drop table not working - com.datastax.driver.core

Drop table using the datastax driver for Cassandra doesn't look to be working. create table works but drop table does not and does not throw an exception. 1) Am I doing the drop correctly? 2) Anyone else seen this behavior? In the output you can…
Rob Mitchell
  • 1
  • 1
  • 1
0
votes
0 answers

java.lang.NoClassDefFoundError: com/datastax/driver/core/Cluster

the existing stackoverflow questions on this topic all indicate I have a classpath issue. However, it looks to be correct. Any help greatly appreciated. TIA. ~$ echo $JAVA_HOME; echo $PATH…
Rob Mitchell
  • 1
  • 1
  • 1
0
votes
1 answer

What are best practices for deleting/altering cassandra columns of collection data-type?

In our Cassandra table, every time we change data-types of "collection-type" columns it start causing issue. For example: For changing datatype from text to Map we do this: drop existing column wait for cassandra to assimilate this…
0biwan
  • 31
  • 1
  • 8
0
votes
0 answers

dse cassandra start up error - org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager

I am trying to start DSE Search the first time after "tar xvf dse-4.7.8-bin.tar.gz". Below is the error: [spark@osboxes dse-4.7.8]$ bin/dse cassandra -s Tomcat: Logging to /home/spark/tomcat [spark@osboxes dse-4.7.8]$ INFO 21:59:57 Loading DSE…
0
votes
0 answers

The library org.apache.Cassandra.thrift.clock cannot be found

I've searched for the jar files in maven and couple of other websites but I couldn't find the jar file nor the maven dependency. Please help me out.
0
votes
1 answer

Cassandra Read Load Varies among nodes?

I have a 2 DC(each 2 node) cluster. The two data-centers(DC1,DC2) are about 5000 km apart. For one of the datacenters(DC1), the number of read requests are about 10 times the other node. The load policy used is Token Aware(DC Aware Round…
0
votes
1 answer

Spring data support to create tables using java entities

I am using Spring data Cassandra, to connect with Cassandra database, with configuration file extending AbstractCassandraConfiguration and overriding functions - @Override public SchemaAction getSchemaAction() { return…
0
votes
1 answer

Does Cassandra 2.1 insert performance depends on affected columns?

Environment: Cassandra 2.1, DataStax Driver 2.1.9, single node cluster with DSE 4.8 I created a table: create table calc_data_test2( data_set_id uuid,svod_type text,section text,index_code text,value_type text,data_hash text,c1 text,c2 text,c3…
sedovav
  • 1,986
  • 1
  • 17
  • 28