Questions tagged [cassandra]

Apache Cassandra is a highly scalable, eventually consistent, distributed, structured row store. Questions about Cassandra server administration should be asked on https://dba.stackexchange.com/questions/tagged/cassandra .

Apache Cassandra is a highly scalable, eventually consistent, distributed, structured row/column store. Cassandra brings together the distributed systems technologies from Dynamo and the data model from Google's . Like , Cassandra is eventually consistent. Like BigTable, Cassandra provides a ColumnFamily-based data model richer than typical key/value systems.

Cassandra's Dynamo-based cluster model provides linear scalability and fault tolerance on commodity hardware or cloud infrastructure. Its support for replicating across multiple data centers is best-in-class, providing low latency and the ability to survive entire data center outages.

Cassandra's data model offers the convenience of column indexes with the performance of log-structured updates and powerful built-in caching with the fastest write performance as compared to other database solutions and makes it a compelling option for big data processing. It provides linear scalability with the provision to add/remove nodes on the fly without downtime.

Cassandra was open-sourced by Facebook in 2008 and quickly became a top-level Apache project. Today, it's widely used by companies in many markets.

Official links:

Documentation

Useful Links:

20596 questions
5
votes
3 answers

Does latest Cassandra support openJDK?

On the GitHub Readme it says Tested on >=1.7 (OpenJSK and Sun). However, when I looked at CassandraDaemon.java, the warning that asks us to upgrade to Oracle Java still exists. Can someone comment on this ?
user3258466
  • 51
  • 1
  • 2
5
votes
2 answers

How do i restart apache cassandra 2.0.4?

I have one node Cassandra 2.0.4 up and running i need to restart it after configuration change i tired restarting it by referring this but not working >cassandra/bin/cassandra -p new Error: Exception thrown by the agent…
Vikas Hardia
  • 2,635
  • 5
  • 34
  • 53
5
votes
1 answer

Cassandra nodetool status very slow

I have a three node Cassandra cluster. Running nodetool status on two of the nodes returns within 1 seconds. Running it on the third node takes 30 seconds. Also connecting to this node via cqlsh is very slow whereas connecting to the other two nodes…
user3025533
  • 129
  • 10
5
votes
3 answers

Picking a database technology

We're setting out to build an online platform (API, Servers, Data, Wahoo!). For context, imagine that we need to build something like twitter, but with the comments (tweets) organized around a live event. Information about the live event itself must…
Sean Clark Hess
  • 15,859
  • 12
  • 52
  • 100
5
votes
1 answer

org.apache.thrift.transport.TTransportException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

Am trying to enable node-to-node and client-to-node ssl encrytion in Datastax dse 3.2.3. First I tried to enable node-to-node it worked fine and started with out any error and then I added the client-to-node encryption options in the cassandra.yaml…
Rock
  • 500
  • 8
  • 22
5
votes
1 answer

Thrift transport error occurred during processing of message

I am running cassandra 1.2.6 and Apache Spark 0.8.0. Here I am creating a RDD from Cassandra using Spark's newAPIHadoopRDD. When I run the job from spark appln I find that cassandra is logging the below error messages INFO 21:36:28,629 Listening for…
user2081818
  • 309
  • 2
  • 10
5
votes
1 answer

How to speedup the bootstrap of single node

I have a single node Cassandra installation on my development machine (and very little experience with Cassandra). I always had very few data in the node and I experienced no problems. I inserted about 9,000 elements in a table today to experiment…
pmontrasio
  • 541
  • 6
  • 10
5
votes
1 answer

Token Aware Astyanax Connection pool connecting on nodes without distributing connections over nodes

I was using astyanax connection pool defined as this: ipSeeds = "LOAD_BALANCER_HOST:9160"; conPool.setSeeds(ipSeeds) .setDiscoveryType(NodeDiscoveryType.TOKEN_AWARE) .setConnectionPoolType(ConnectionPoolType.TOKEN_AWARE); However, my cluster have 4…
mvallebr
  • 2,388
  • 21
  • 36
5
votes
3 answers

Example about how to use map cql type with DataStax java driver

I am trying to use the datastax java driver to update and query a column family that has a map field. Does anyone an example about how to use cql collections with the Datastax Java Driver? Thanks
ftrujillo
  • 1,172
  • 1
  • 16
  • 30
5
votes
0 answers

Any benchmarks for Cassandra Trigger performance?

Would appreciate if anyone could share some practical experience on the impact of using the prototype Trigger support in Cassandra 2.0 . In particular as to how it affects write performance. Use case is to bind the trigger to a Storm spout when data…
naomgabo
  • 151
  • 3
5
votes
2 answers

Cassandra12 error - Can't open incompatible SSTable! Current version ic

After installing cassandra12 with homebrew, it quits with the following message: java.lang.RuntimeException: Can't open incompatible SSTable! Current version ic, found file:…
jasonm
  • 1,020
  • 2
  • 11
  • 24
5
votes
2 answers

Cassandra error "Could not create the Java Virtual Machine"

I'm new to Cassandra. Followed this link http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/install/installDeb_t.html to install Cassandra in Ubuntu virtual box of 1GB RAM. Output of cassandra -f: xss = -ea…
rajpy
  • 2,436
  • 5
  • 29
  • 43
5
votes
2 answers

Migrate data from cassandra to cassandra

We have 2 cassandra clusters, first one has the old data and second one has the new data. Now we want to move or copy the old data from first cluster to second. What is the best way to do this and how to do this? we are using DSE 3.1.4.
Ram
  • 324
  • 1
  • 4
  • 21
5
votes
1 answer

What are the pros and cons of DynamoDB with respect to Google Cloud Datastore

My understanding is DynamoDB behave like a giant table which you must specify a hash key and range key. The core concept of Google Cloud Datastore is entity based (like Cassandra) and is more flexible, i.e. can use more than 1 index. But are there…
Ryan
  • 10,041
  • 27
  • 91
  • 156
5
votes
1 answer

Using triggers in cassandra

I tried using the example https://github.com/apache/cassandra/tree/trunk/examples/triggers I took help and wrote my own trigger. But i am getting UnsupportedOperationException over UnsortedColumns.getColumn(UnsortedColumns.java:105). This is the…
S Kr
  • 1,831
  • 2
  • 25
  • 50
1 2 3
99
100