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

Need to create index for column containing JSON/XML string. How to analysis in cassandra using jsonTokenizerFactory in solr

I'm new in cassandra, I'm using DSE 4.1.3 and I will get JSON documents/files as feed and I have to Store it in one of the Cassandra table column as a json string and I have to perform analysis on it. Can anyone tell me how I can create indexing…
user3632180
  • 105
  • 2
  • 13
0
votes
1 answer

Hive on DSE 4.0 throwing NoSuchMethodError

Getting this exception when using Hive on DSE 4.0. Looks like the Hive version that is shipped with DSE 4.0 has a know issue https://issues.apache.org/jira/browse/HIVE-6962 Does anyone have a workaround. I tried a few that were mentioned in the…
mob
  • 567
  • 5
  • 12
0
votes
2 answers

How to execute cassandra queries from a file

Is it possible to run more than one Cassandra query from a single Cassandra file? So that if I share that file, the others can run it to replicate the database in all systems
Rajesh Kumar
  • 1,270
  • 4
  • 15
  • 31
0
votes
1 answer

Cassandra: For brute force write which one is better - ANY or ONE?

This link in Cassandra's documentation describes the different consistency level's for write. If I am okay with data-loss and want the best write performance possible on a 3 node cluster with replication of 2 - which one should I choose between ANY…
Bharadwaj
  • 1,361
  • 1
  • 9
  • 24
0
votes
1 answer

Why a cassandra server is needed?

I am new to cassandra and getting confusion between cassandra server and cqlsh. When I execute a cassandra.bat file in cmd, it is giving "Listening for thrift clients...", what are these thrift clients? If it is possible to execute queries using…
Rajesh Kumar
  • 1,270
  • 4
  • 15
  • 31
0
votes
1 answer

Comparison based on Dates

I have one table in Cassandra :- CREATE TABLE printerload ( gp_date timestamp, printed_cost float, printed_pages int, saved_cost float, saved_pages int, PRIMARY KEY (gp_date) ) I have inserted data in the table :- cqlsh>…
Nayan
  • 353
  • 3
  • 5
  • 16
0
votes
1 answer

Cassandra 2.07 node repair hangs

We have a 5 node cassandra cluster. The cassandra version is 2.07. OS is Oracle Enterprise Linux 6.5. The Java environment is: -bash-4.1$ java -version java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM)…
0
votes
1 answer

Using JMX to monitor Cassandra's disk related failures

Cassandra (2.0.7) has two parameters to configure disk failures policies My configuration of /etc/cassandra/cassandra.yaml commit_failure_policy = stop_commit disk_failure_policy=best_effort What are the JMX attributes that designate…
4d50
  • 45
  • 4
0
votes
1 answer

JPA 2.0 : NoSuchMethodError: javax.persistence.EntityManagerFactory.getCache()Ljavax/persistence/Cache

I am trying to run my spring based web-application on Weblogic 10.3.6. This application uses Apache Cassandra version 2.0.7 for storing/accessing data. We are using JPA 2.0 with a persistence.xml file as follows:
Anand03
  • 213
  • 2
  • 6
  • 17
0
votes
1 answer

How do you retrieve the size of Cassandra list?

If I have a table in cassandra where the schema is like the following: name varchar email list(text) If I have a list of email addresses for each name, how do I get the size of the list for the user? Like if user1 has e1@yahoo.com and…
user3430179
  • 21
  • 1
  • 4
0
votes
1 answer

Cassandra range slicing on composite key

I have columnfamily with composite key like this CREATE TABLE sometable( keya varchar, keyb varchar, keyc varchar, keyd varchar, value int, date timestamp, PRIMARY KEY (keya,keyb,keyc,keyd,date) ); What I need to do is…
Andrei Dharma
  • 47
  • 2
  • 9
0
votes
1 answer

Cassandra data model

I am a cassandra newbie trying to see how I can model our current sql data in cassandra. The database stores document metadata that includes document_id, last_modified_time, size_in_bytes among a host of other data, and the number of documents can…
ssen
  • 95
  • 2
  • 7
0
votes
1 answer

Multinode cassandra setup on Single windows machine

I am trying to setup a 3 node Cassandra cluster on single windows machine. This is for testing purpose only. Step 1 I modified by hosts file as below 127.0.0.1 node1 127.0.0.1 node2 127.0.0.1 node3 Step 2 installed Datastax Cassandra on C:\Cassandra…
0
votes
1 answer

java.io.EOFException from Cassandra when doing select

Cassandra 2.06, Oracle Java version "1.7.0_51", Linux Mint 16 I have a cassandra keyspace with about 12 tables that are all the same. If I load 100,000 rows or so into a couple of those tables in Cassandra, it works fine. If I load a larger…
0
votes
1 answer

Cassandra cluster with each node total replication

Hi I'm new to Cassandra. I have a 2 node Cassandra cluster. For reasons imposed by the front end I need... Total replication of all data on each of the two nodes. Eventual consistent writes. So the node being written to will respond with an…
Rob McFeely
  • 2,823
  • 8
  • 33
  • 50