cassandra-2.0 Questions

2

Solved

Writing data to Cassandra without causing it to create tombstones are vital in our case, due to the amount of data and speed. Currently we have only written a row once, and then never had the need ...
Leotaleotard asked 25/6, 2015 at 14:34

1

Trying to connect Cassandra from spark-Shell and spark-Submit, but both throwing same error. SPARK version : 1.2.0 Apache Cassandra version 2.1.1 connect with Spark 1.2.0 using Datastax Cassandra...
Marga asked 14/1, 2015 at 7:4

4

What do you mean by Batch Statements are atomic in cassandra? Docs are a bit confusing in nature to be precise. Does it mean that queries are atomic across nodes in cluster? Say,for example, i hav...

1

Suppose I have a 2 node cluster with Replication Factor(RF) = 2. I fire an insert with Consistency 2. Cassandra starts to write to these 2 nodes while client is waiting for a response. In between ...
Some asked 30/5, 2015 at 8:49

1

Solved

We have a big Cassandra cluster 18 Servers (on one server near 5T data ) http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_add_node_to_cluster_t.html - We have added a new nodes f...
Theophilus asked 30/5, 2015 at 10:10

3

Solved

The below statement from Cassandra documentation is the reason for my doubt. For example, if using a write consistency level of QUORUM with a replication factor of 3, Cassandra will replicate the ...
Ragwort asked 27/5, 2015 at 9:28

1

Solved

I would like to know if there is way to limit the number of queries executed simultaneously by the cassandra java driver ? Currently, I execute a lot of queries as follows : ... PreparedStatemen...
Afford asked 28/5, 2015 at 14:12

1

Solved

Is there a way I could control max size of a SSTable, for example 100 MB so that when there is actually more than 100MB of data for a CF, then Cassandra creates next SSTable?
Smidgen asked 1/4, 2015 at 13:30

2

Solved

I am trying to understand the fundamentals of Cassandra data model. I am using CQL. As per I know the schema must be defined before anyone can insert into new columns. If someone needs to add any c...
Lamarckian asked 25/3, 2015 at 8:14

1

Solved

I am running a single node test instance of Apache Cassandra. I would like to change the location of where Cassandra stores its files to an external disk. How can I change it?
Overstock asked 22/3, 2015 at 16:39

1

Solved

How are static columns stored internally in cassandra? Can someone please post an example discussing the design implementation of static column in cassandra?
Talaria asked 27/2, 2015 at 14:31

1

Solved

Delete delete = QueryBuilder.delete() .from("addresbook", "contact") .where(eq("username", "dgarcia")); what is the type of "eq" in where clause Delete example here
Skellum asked 17/2, 2015 at 11:14

1

I have tried RCassandra and RJDBC but unfortunately it seems that these bindings work only with the old Cassandra 1.x. Is there any binding for Cassandra 2.x in R language?
Schubert asked 22/12, 2014 at 15:14

3

Solved

I have a single node cassandra cluster, I use the current minute as partition key and insert rows with TTL of 12 hours. I see a couple of issue I can't explain The /var/lib/cassandra/data/<ke...
Speed asked 26/1, 2015 at 8:58

1

USE users_tracking; SELECT user_name FROM visits where port_name IN (SELECT port_name FROM ports where location = 'NY' )//as temp; It gives an error mismatched input 'SELECT' expecting RULE_T_R...
Succedaneum asked 13/12, 2014 at 14:54

2

Solved

In Cassandra, I can create a composite partition key, separate from my clustering key: CREATE TABLE footable ( column1 text, column2 text, column3 text, column4 text, PRIMARY KEY ((column1, c...
Persuasive asked 3/12, 2014 at 16:41

1

Solved

Imagine a Cassandra cluster needs to be accessed by a client application. In Java api we create a cluster instance and send the read or write request via a Session. If we use read/write consistency...
Crony asked 22/11, 2014 at 13:5

1

Solved

I am trying cassandra node driver and stuck in problem while inserting a record, it looks like cassandra driver is not able to insert float values. Problem: When passing int value for insertion in...
Friedafriedberg asked 31/10, 2014 at 20:26

3

I am getting this error while performing a simple join between two tables. I run this query in Hive command line. I am naming table as a & b. Table a is Hive internal table and b is External ta...
Henigman asked 10/4, 2014 at 2:52

2

Solved

What is the canonical way to model many-to-many relations with CQL3 ? Let's say I have to tables CREATE TABLE actor ( id text PRIMARY KEY, given text, surname text, ) CREATE TABLE fan ( id te...
Arrowy asked 26/10, 2014 at 13:0

1

Solved

I am creating an application for auditing my web application. so I want to store all audit log in CASSANDRA db, and data is not pre-defined that, what we gonna store into db, basically It should be...
Amathiste asked 13/10, 2014 at 9:2

1

Cassandra CQL: Table created with composite key and cluster key. When I try to execute select * from partition key then I able to retrieve all data and it works for relational operator ( < or > ...
Davedaveda asked 7/10, 2014 at 14:5

1

Solved

I've set up node-to-node encryption on my Cassandra cluster. Now I want to set up client-to-node. According to this documentation, it should be as easy as taking the SSL certificate of my client an...
Ronrona asked 12/9, 2014 at 19:3

2

I'm getting this warning in the log: WARN [Native-Transport-Requests:17058] 2014-07-29 13:58:33,776 BatchStatement.java (line 223) Batch of prepared statements for [keyspace.tablex] is of size 109...
Muckraker asked 29/7, 2014 at 14:53

1

Solved

Disclaimer: This is quite a long post. I first explain the data I am dealing with, and what I want to do with it. Then I detail three possible solutions I have considered, because I've tried to do ...
Priapism asked 22/8, 2014 at 14:40

© 2022 - 2024 — McMap. All rights reserved.