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

Prevent unknown nodes joining cluster

I am new to Cassandra. When i tried to set up a Cassandra cluster, i noticed that any node can join the cluster if it has the IP address of seed nodes, then your data can be seen by any one. How to prevent this? (i thought about requiring password…
lncnb91
  • 69
  • 1
  • 7
0
votes
0 answers

Lack of disk space during the utility 'nodetool rebuild'

Good afternoon. In a production environment we use Cassandra 2.0.7. Initially we were enough one node (cass-05, the local IP-address 192.168.0.5). There is now a need for a second node (cass-06, the local IP-address 192.168.0.6). For the second node…
DmitryKanunnikoff
  • 2,226
  • 2
  • 22
  • 35
0
votes
0 answers

Cassandra java reference issue

I've installed and trying to start up Cassandra 2.0 service on my vm. I am on CENTOS 6. I've installed JRE 1.7 next to 1.6 and changed JAVA_HOME in /root/.bash_profile [root@xxx log]# java -version java version "1.7.0_60" Java(TM) SE Runtime…
Wild Goat
  • 3,509
  • 12
  • 46
  • 87
0
votes
1 answer

cassandra 2.0.7 cql SELECT Secific Value from map

ALTER TABLE users ADD todo map; UPDATE users SET todo = { '1':'1111', '2':'2222', '3':'3' ,.... } WHERE user_id = 'frodo'; now ,i want to run the follow cql ,but failed ,is here any other method ? SELECT user_id, todo['1'] FROM users WHERE…
hi_glenn
  • 67
  • 1
  • 5
0
votes
1 answer

Use limit in CQL with range

How to set limit on cassandra DB and set the range not just limit because I have to find 10 to 100 record from cassandra DB I have one table user i want to search only 100 user then next 100 use means i want to paginate it so Please tell me How…
user3359503
  • 31
  • 1
  • 7
0
votes
1 answer

Cassandra read Column

String cqlStatement = "SELECT * FROM local"; for (Row row : session.execute(cqlStatement)) { System.out.println(row.toString()); } how to get each Column value from the selected row ?
Bilal
  • 122
  • 10
0
votes
2 answers

Why Apache Cassandra not starting up on windows XP?

I am trying to run Cassandra from Windows XP machine.My JDK version is 1.7 and Cassandra version is 2.0.8. Here is my configuration in cassandra yaml file. commitlog_directory:C:/Documents and…
Abhinab Kanrar
  • 1,532
  • 2
  • 20
  • 46
0
votes
3 answers

Cassandra, why SSTABLE count is 3 for 1 column family (table)

I am new to cassandra, 1) why single column family have 3 sstable. 2) is it each column of the Table ( column family) stored in different nodes in a ring? or completely column family stored in single node ( if I not set replication…
0
votes
1 answer

solrj error when trying to use java.util.Set

I am trying to run a solr query using solrj against a cassandra table that has a collection that is a java.util.Set. When my results come back I get an exception when trying to use the getBeans method of the solr…
0
votes
1 answer

Problems using Hive + Cassandra community

I am trying to use HIVE 0.13 to access cassandra 2.0.8 column families created with CQL3. Here is how I created my column families: CREATE KEYSPACE IF NOT EXISTS Identification WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'DC1' : 2…
mvallebr
  • 2,388
  • 21
  • 36
0
votes
0 answers

Cassandra Insertion/ write failed

I have installed Cassandra 2.0 On CentOS6.5 Server and and while testing simple records everything is working fine, Now I have to upload 600 billion rows, when I use COPY on cqlsh it failed after 5 minutes and approx rows inserted are 0.2 million…
sharafjaffri
  • 2,134
  • 3
  • 30
  • 47
0
votes
1 answer

How to enable a Cassandra node to participate in multiple cluster?

I want to use Cassandra cluster for some specific purpose across data centers. What I want to figure out is how can I enable a single Cassandra node to participate in multiple clusters at the same time? I googled it, however I could not find any use…
Salih Kardan
  • 579
  • 1
  • 6
  • 16
0
votes
2 answers

Required document about apache cassandra thrift Api

I have tried to find out the document about cassandra thrift Api. But i did't get any reference document. particularly i want know about org.apache.cassandra.thrift.Column.setTtl(int ttl) Api. here argument ttl refers to seconds or minutes or any…
Ramesh Kasi
  • 131
  • 2
  • 9
0
votes
1 answer

why datastax cassandra community ami has opscenter

I just launched a datastax cassandra ami. Noticed that the opscenter is by default running. Do I have to disable the opscenter for each of the ami I launched? What linux command to ensure opscenter won't run as a service? Ultimately I want to run…
simonso
  • 595
  • 1
  • 8
  • 19
0
votes
1 answer

Get all columns in cassandra query

My cql3 table is as below. CREATE TABLE customer_details ( customer_id int, uuid text, creation_time timestamp, agent text, address text, PRIMARY KEY (customer_id, uuid) ) WITH bloom_filter_fp_chance=0.010000 AND caching='KEYS_ONLY'…
S Kr
  • 1,831
  • 2
  • 25
  • 50