Questions tagged [cassandra-0.7]

Cassandra is a highly scalable, eventually consistent, distributed, structured key-value store.

Version 0.7 of Cassandra: a highly scalable, eventually consistent, distributed, structured key-value store.

51 questions
1
vote
1 answer

Maintaining Cassandra Cluster

1) What are the things that one should practice to maintain Cassandra cluster properly? 2) As explained here:Apache Cassandra at Clearspring, they are doing rolling restart in a week or two. 3) How does rolling restart help in maintaining Cluster?…
samarth
  • 3,866
  • 7
  • 45
  • 60
1
vote
2 answers

Retrieving results from Cassandra in order

I have stored the data in the ComparatorType.BYTESTYPE in the Cassandra database. Now I want to retrieve data in the stored order. I used the following code in Hector to get data, but the query results seems not sorted. Keyspace keyspace =…
Tanya
  • 354
  • 1
  • 3
  • 14
0
votes
1 answer

Cleaning and rejoining same node in cassandra cluster

We have Cassandra-0.8.2 cluster of 24 nodes and replication factor 2 . One of the node is quite slow and most of sstables on this node is corrupt.(We are not able to run compaction and not even scrub) So is it possible to clean the data,cache and…
0
votes
1 answer

Cassandra 0.7.10 - Can't create column family with key_validation_class using cassandra cli

I've been using cassandra-cli and have been trying to create a column family with the key as type TimeUUIDType. CREATE COLUMN FAMILY users WITH COMPARATOR = UTF8Type AND key_validation_class = TimeUUIDType; Whenever I use this command I get the…
mesh
  • 923
  • 2
  • 10
  • 15
0
votes
1 answer

secondary indexes in Cassandra under RandomPartitioner

I am researching the possibility of using secondary index feature in Cassandra using Aquiles. I know for the primary index (key), a I must be using OrderPreservingPartitioner in order to query. At first, I thought that with secondary indexes, there…
galets
  • 17,802
  • 19
  • 72
  • 101
0
votes
1 answer

I cannot get TimeUUIDType with phpcassa

Noob here. I have a super column family sorted by timeuuidtype which has a number of entries. I'm trying to perform a simple get function with phpcassa that wont work. I'm trying to return a specific value from a UTF8 sorted column within a…
unusualhabit
  • 103
  • 1
  • 4
0
votes
1 answer

Pig script using php

Is it possible to run pig script in any other programming language like PHP?
0
votes
1 answer

Cassandra not value inserted

I'm using cassandra.my columnfamily is testcassa and the column is test1. I tried to insert value like set testcassa['123'][test1]='Sample' but it returns 'null'. and no error message.. can anyone help me.. thanks in advance.
0
votes
1 answer

Enabling Locking of Data in C

I just want to know whether there is any possible method to implement locking of a data in cassandra?I tried with multithreading using hector but this didn't work out well. Can anyone suggest a method?
0
votes
2 answers

Disk space size remains same even after Cassandra TTL (Time to live)

I have implemented the TTL feature in my code and its removing the records successfully. But the data storage size remains the same. It should be reduced immediately. latest Cassandra document says that the data will be removed after the first…
Ramesh Kasi
  • 131
  • 2
  • 9
0
votes
1 answer

How to change consitency level in YCSB?

I need to change the write and read consistency level of Cassandra ONE to QUORUM in YCSB. Whether, I need to change inside a Java client program or to pass as command line parameter. Please give me some suggestion
0
votes
1 answer

cassandra : Is there a way to get all value of columns starting with a particular prefix?

I need to get all column:column_value pairs for a key. the constraint is columns have a common Prefix , is there a way to get it using Hector ?
Peter
  • 2,719
  • 4
  • 25
  • 55
0
votes
1 answer

How to structure friend relation in cassandra

I have a user table in Cassandra currently. I want To create a friend relation table but i am not sure what is the best way to do it. First i thought put like key as current user and column as friend but than i wanted to achieve the functionality…
Saurabh Kumar
  • 16,353
  • 49
  • 133
  • 212
0
votes
1 answer

index by time cassandra

In mysql if would like to index some rows by for example by time I would index the column time and every time I would enter new data it would get indexed automatically and it would look like that if would like to retrieve the data using that index…
user1072680
0
votes
2 answers

SQLSyntaxErrorException: Expected key 'KEY' to be present in WHERE clause for 'dept'

I am running the insert example from WSO2 DSS to Cassandra Database. Here is my DSS with Casandra Database insert Configuration.