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

All actions are inactive in Opscenter

I have a Cassandra 2 cluster of 6 nodes. I successfully installed Opscenter 5 & Datastax-agents. The agents are connected to Opscenter and all run smoothly except for the all cluster actions: rebalance, repair etc. All these options are inactive in…
Maksym Polshcha
  • 18,030
  • 8
  • 52
  • 77
0
votes
1 answer

How do I create @OneToMany table in cassandra

I want to use cassandra, but I did not use the relationship @onetomany or @ManyToMant. I use java and cassandra-core driver. How can I use these relationships
slmkrnz
  • 23
  • 1
  • 4
0
votes
1 answer

Modeling nested data with possible null values in cassandra

I have a situation similar to the one described in question Nested data data modelling in Cassandra? I have a project entity for which my app needs to be able to display project specific information, including the agencies and vendors participating…
Arnob
  • 467
  • 1
  • 4
  • 13
0
votes
0 answers

How do I clean up Cassandra resources without having memory leaks?

I am trying to clean up the Cassandra connection resources for my application and my application hangs after some time. I keep getting this exception below. I don't know how to resolve this issue. My stack trace is below. What is the best practice…
Kartik
  • 2,541
  • 2
  • 37
  • 59
0
votes
1 answer

Cassandra client lose the connection to seed node, if the seed node crashes. Is it normal behavior?

I am currently doing the feasibility testing with Cassandra 2.0.9. During the test, it was observed that the client that connects to a cluster with IP address of seed node, loses the connection, when the seed node crashes. For detail, the cluster…
Joshua
  • 1
0
votes
1 answer

Modify datastax cassandra ami startup script

I am exploring the possibility of modifying https://github.com/riptano/ComboAMI to support Ec2MultiRegionSnitch. In that: Add option --snitch Ec2MultiRegionSnitch -> modify cassandra.yaml to write snitch as multi region Add option…
simonso
  • 595
  • 1
  • 8
  • 19
0
votes
1 answer

Cassandra CQL ALTER Table with timeuuid column

I tried ALTER TABLE with a valid timeuuid column name - cqlsh:dbase> ALTER TABLE jdata ADD 4f8eca60-1498-11e4-b6e6-ed7706c00c12 timeuuid; Bad Request: line 1:24 no viable alternative at input '4f8eca60-1498-11e4-b6e6-ed7706c00c12' So, I next tried…
Bharadwaj
  • 1,361
  • 1
  • 9
  • 24
0
votes
1 answer

alter table add column not always propagating in cassandra

I am using apache cassandra (v. 2.0.9) on a 4-node cluster, replication factor = 3 and Datastax Java Driver for Cassandra (v. 2.0.2). I am using CQL queries from inside my Java code to add columns to existing tables. I observed this issue when my…
shefali
  • 1
  • 2
0
votes
2 answers

cassandra 2.0.9: best practices for write-heavy columns

I am a little confused by clustering in Cassandra. I have an application that is very write-heavy and update-heavy. With a traditional relational database, I'd partition data into two tables: one table for data that changes infrequently; and one…
Mayur Patel
  • 945
  • 1
  • 7
  • 15
0
votes
1 answer

Hadoop authentication in cassandra not working

I am getting the below error when i am trying to insert data into cassandra using my map only hadoop job. I am currently using cassandra 2.0.6 jar My code snippet for authentication in my driver class & the authentication error…
S Kr
  • 1,831
  • 2
  • 25
  • 50
0
votes
1 answer

Error while running datastax's cpp-driver examples

I am running on ubuntu14.04. I was able to install the datastax's cpp driver on the machine. But I am not able to run any of its examples Install the project... -- Install configuration: "" -- Up-to-date: /usr/local/include/cassandra.h --…
S Kr
  • 1,831
  • 2
  • 25
  • 50
0
votes
1 answer

Moving a node that has insufficient free space

I have a 6-node DSE Search datacenter with vnodes disabled. This is previously a 2-node DC and the other 4 nodes were just recently added. Now, to rebalance the DC, I want to move one of the original nodes into a different position in the ring. BUT,…
0
votes
0 answers

Cassandra and pdo php. Import data from csv file. How to improve performance

I'm starting to work with big data. My input is a daily csv files with many columns and I've to import these three columns: user_id parent_id grandparent_id ..... what is my goals? I have to count all the unique user_id values belonging to two…
PistolPete
  • 147
  • 2
  • 10
0
votes
1 answer

Nested data data modelling in Cassandra?

I am trying to create tables which can drills down to multiple level for eg each project has multiple milestones and each milestones has mutiple tasks and each task has few subtasks along with task thier properties(like description,author,assigned…
0
votes
1 answer

Strange behavior of timeuuid comparison

I have Cassandra 2.x cluster with 3 nodes and the db scheme like this: cqlsh> CREATE KEYSPACE test_ks WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 3} AND durable_writes = true; cqlsh> CREATE TABLE IF NOT EXISTS…
Dmitry Belaventsev
  • 6,347
  • 12
  • 52
  • 75