Questions tagged [cassandra-2.0]

Cassandra 2.0 is a NoSQL database sponsored by Apache.

Cassandra 2.0 is a NoSQL database sponsored by Apache.

Cassandra advertises itself to have the following merits:

  1. Proven (used by many large established companies);
  2. Performant (peforms consistently well on NoSQL benchmarks);
  3. Fault tolerant (data is automatically replicated to multiple nodes for fault-tolerance. Replication across multiple data centers is supported. Failed nodes can be replaced with no downtime.);
  4. Decentralized (there are no single points of failure and no network bottlenecks. Every node in the cluster is identical);
  5. Durable (durability is the property that writes, once completed, will survive permanently, even if the server is killed or crashes or loses power.); and
  6. Elastic (read and write throughput both increase linearly as new machines are added, with no downtime or interruption to applications);
1327 questions
0
votes
1 answer

How can I recover my cluster if 2 seed nodes will go down in aws vpc

I am using total 4 nodes 2 in 1a and 2 is in 1b availability zone in singapore region. Right now I am using only 1 seed. Suppose it goes down then how can i recover my cluster. OR, Suppose I will be using 2 seed nodes and both nodes will go down…
0
votes
2 answers

9160 port is not opened after starting cassandra

I have deployed cassandra(1.2.15) with 2 nodes on redhat 6.4 ami in aws vpc. Both nodes are in private subnet. Seed node is working fine but when I started cassandra in new node my 9160 port is not opened. I have given private ip in new node and in…
0
votes
0 answers

How to create a session in Cassandra?

Total Cassandra newbie here, using Python client. from cassandra.cluster import Cluster cluster = Cluster(['127.0.0.1']) session = cluster.connect() I get error: Exception in thread event_loop (most likely raised during interpreter shutdown): …
Tampa
  • 75,446
  • 119
  • 278
  • 425
0
votes
1 answer

Prepared statements cassandra-stress tool

I would like to know if it's possible to have the cassandra-stress tool to run a predefined set of queries instead of random reads. For example, lets say I have keyspace BENCHMARK with a LOGS table CREATE TABLE LOGS(log_id int PRIMARY KEY, log_date…
0
votes
2 answers

connecting to cassandra nodes on a datastax cluster on EC2 Ruby on Rails

I created a datastax cassandra Enterprise cluster with 2 cassandra nodes, 2 search nodes and 2 Analytics nodes. Everything seems to work correctly EXCEPT, I can't connect to it from outside. If I'm on node0 server I can run the cassandra-cli and…
0
votes
2 answers

get_range in random and ordered partitioner

How does the following statements help in improving program efficiency while handling large number of rows say 500 million. Random Partitioner: get_range() Ordered Partitioner: get_range(start='rowkey1',finish='rowkey10000') Also how many rows can…
user2081818
  • 309
  • 2
  • 10
0
votes
1 answer

What is the ordering for Cassandra UTF8Type keys? (Cassandra 2.0)

What is the ordering for Cassandra UTF8Type? All the documentation led me to expect a lexographical sort order (essentially, alphabetical order). That doesn't appear to be the order Cassandra uses. What it is using is hard for me to guess. I…
BeauGust
  • 1
  • 2
0
votes
2 answers

Large writes cause instability in Cassandra ring

I'm attempting to load a large amount of data into a 10-node Cassandra ring. The script doing the inserts gets ~4000 inserts / s, blocked presumably on network I/O. I launch 8 of these on a single machine, and the throughput scales almost linearly.…
Thanatos
  • 42,585
  • 14
  • 91
  • 146
0
votes
1 answer

phpcassa: cassandra\NotFoundException when instantiating ColumnFamily class

I'm trying to query a Cassandra 2.0.2 server using the phpcassa libraray. I do the following:
Pankas
  • 127
  • 2
  • 12
0
votes
1 answer

pycassa create column family exception when seen with cassandra-cli

as I am new to Cassandra. I want to create a column family using pycassa API. I have created a column family by using the following code: validators = {'full_name': UTF8_TYPE, 'email': UTF8_TYPE, 'state': UTF8_TYPE, …
Narendra
  • 3
  • 1
0
votes
2 answers

Difficulty in defining Cassandra datamodel

I am new to Casssandra and I feel difficult to implement the datamodel. I have faced lot of issue to design a single table. Before i mention the table definition i want to show you the ways we have to retrieve and update record select * from email…
suresh
  • 341
  • 2
  • 3
  • 13
0
votes
2 answers

How to correctly use the cassandra.config startup parameter

I am trying to start up a Cassandra instance through the command line and am having some trouble setting the cassandra.config parameter: cassandra -f -Dcassandra.config=path/to/config When I set it to the path where my config files are, the process…
Brandon
  • 2,886
  • 3
  • 29
  • 44
0
votes
0 answers

Need multiple Index in cassandra

We are migrating from oracle to cassandra. We have a requirement to do minimal changes to the application. Three questions came up when i am doing POC on cassandra. In a Oracle we have created multiple composite indexes but i don't find any…
suresh
  • 341
  • 2
  • 3
  • 13
0
votes
1 answer

Java API for handling collections in Cassandra CQL

I am looking for a java API which can handle collections in Cassandra. Which has methods to read/update/insert/delete collections like list/set/map in a column value. I am using Hector client now, I did not find any methods which could perform the…
0
votes
1 answer

Datastax Opscenter shows empty storage capacity

I'm using opscenter free edition 4.0.2, with cassandra 2.0.3 on centos 6. The storage capacity widget on the landing page is showing no data at all. The storage-capacity call is returning: {"free_gb": 0, "used_gb": 0, "reporting_nodes": 0} However…
LittleSquinky
  • 569
  • 1
  • 5
  • 14