Problem: drop keyspace MyKeyspace; hangs.
Environment:
This is an Ubuntu 12.04 64bit in virtualbox, running a single Cassandra instance (on a development machine).
Cassandra is 1.1.6:
myuser@myhost:~$...
In a Java play 2.1.1 app I get the following error:
[myproject] $ update
[info] Updating {file:/C:/path/myproject/}myproject...
[info] Resolving ...
[error] impossible to get artifacts when data...
I am facing some issues regarding disk space consumption while generating SSTables from CSV data files with billion+ rows and 8 columns. I am using the bulk loading techniques provided at http://www.datastax.com/dev/blog/bulk-loading...
I have read various sources on this subject and understand the idea of modelling around the queries needed but wondered how far this can be stretched for Cassandra.
I need to store processing...
I want to quickly see the keyspaces in a cluster while using cqlsh. Is there some command?
Datastax' Using CQL documentation states that cqlsh specifically does not provide show keyspaces
Is...
Need some help! I Can“t get rowkey value displayed on gridview from Apache-Cassandra.
some of the code...
public class PacienteEntity
{
public int key { get; set; }
public string name { get; set;...
I used to have the following method to fetch data from my columnFamily:
public <K, C> ColumnFamilyResult<K, C> getCfRows(String p_columnFamily, K[] p_Keys, Serializer<C> p_columnNameSerializer,...
I am new in Big Data and HBase, in participle.
Now I am trying to use OpenTSDB to store data from sensors.
Configuration is: Cloudera vmware image with the last stable OpenTSDB installed on it.
After...
What query should I use to retrieve a set of columns from a Column Family?
Column Name is a composite key and I know I want to get list of Columns and I do not have any row keys. One part of the...
Intro
I'm using the python cql library library to access a Cassandra 1.2 database (CQL 3.0). My table contains a boolean column as follows:
CREATE TABLE test (
id text,
value...
My problem statement is :-
I have a college , every college have some students ,
every student has some data(for eg student id , student name , class etc) related to him.
The kind of questions...
I am using cassandra 1.2 with CQL3. I have three column families in my keyspace. When I query one of the column family(phones), it takes a long time to retrive. Here is my query
**select * from...
Log-structured file-systems never really entered mainstream. However, it occurred to me that in-memory databases (e.g., Cassandra) borrow many concepts from them. It seems to me like Cassandra...
I am trying to put my domain model into Cassandra using CQL. Let's say I have USER_FAVOURITES table. Each favourites has ID as a PRIMARY KEY. I want to store the list of up to 10 records of multiple...
I am trying to execute storm ,Actualy data is emited from some port,using storm spout program i am listening, (ie)implementing SerialPortEventListenter code hereener
i am getting error
no rxtxSerial...
Is there a way to delete multiple rows from Cassandra CF using CQL query without using key in the filter condition?
Something like DELETE FROM [ColumnFamily] WHERE [NonKeyColumnName] = [Value]?
OR
Something...
Datastax manual say that I can change consistency level with "USING CONSISTENCY" syntax.
http://www.datastax.com/docs/1.1/references/cql/cql_data_types#specifying-consistency-level
But, Cassandra...
Is it possible to find records in Cassandra who's primary key matches an arbitrary subset of all of the primary key fields?
Example:
Using the table described below, it is possible to find the...
need some help on filtering based on Composite column.
I am unable to get filtering on 2nd part of composite column for some reason -
create column family xxx with comparator= 'CompositeType(TimeUUIDType,...
I am generating Cassandra SSTables using the bulk loading sample provided at DataStax website. http://www.datastax.com/dev/blog/bulk-loading
My question is how much disk space is ideally consumed...
My cassandra scehma has only one row in a column family. When running a mapreduce, the mapper keeps on reading the same single row again and again. Thus mapper goes into infinity and reducer stucks....
These...
I am learning Cassandra with Java, and I've tried to run the Hotel sample in this book http://shop.oreilly.com/product/0636920010852.do (Cassandra: The Definitive Guide). But because this sample...
Every time I type in anything like create table/key space/etc.
Cassandra CQL throws same error of bad request or mismatched input..
I have installed datastax setup. Is it the cassandra configuration...
I'm trying to reproduce the Murmur3 hashing in Cassandra. Does anyone know how to get at the actual hash values used in the row keys? I just need some key - hash value pairs from my data to check...
I am working on cassandra 1.2.3 and using hector 1.1-3
When I fetch columns using SliceQuery, it returns me all the columns with the same datatype. Is there any way that QueryResult have object...
I am a newbie to Cassandra - I have been searching for information related to commits and crash recovery in Cassandra on a single node. And, hoping someone can clarify the details.
I am testing...
I want to write tests against the data access layer powered by Cassandra.
So I use Embedded Cassandra with Astyanax and cassandra-unit, but I can't find the way to load a script which contains...
I have PlayORM set up through maven.
My main class is basically copied from the example here.
Every thing is set up properly and seems fine however I get some sort of date conversion error.
Stacktrace...
I have a Cassandra 1.2 cluster that is using vNodes (default of 256 per node). I'd like to predict the placement of these vNodes physically within the ring from within the client so I can more...
I know that there are TTLs on columns in Cassandra. But is it also possible to set a TTL on a row? Setting a TTL on each column doesn't solve my problem as can be seen in the following usecase:
At...
We are encountering random SSTable corruptions with 1.2.3/1.2.4 (Datastax Community Edition) on single node development machines with a mixed read/write load using a data model with wide rows from...
I am using hector to read from cassandra cluster of 5 machines.
The code is
String cqlString = "some query";
CqlQuery<String, String, String> cqlQuery = new CqlQuery<String, String,...
I have configured Cassandra-1.2.2 in cluster mode. But while starting Titan with my cassandra configuration, it Showing the following exception
Exception in thread "main" java.lang.IllegalArgumentException:...
Intro
I'm using the python library cql to access a Cassandra 1.2 database. In the database I have a table with a timestamp column and in my Python code I have a datetime to be inserted in the column....
What is the difference between UPDATE and INSERT when executing CQL against Cassandra?
It looks like there used to be no difference, but now the documentation says that INSERT does not support...
I have a list of maps and each map contain different key:value count.
e.g. map1=(k1:v, k2:v, k3:v), map2=(k1:v, k3,v) map3=(k1:v, K4:v, k5:v). Getting this value from SOLR and from back to Cassandra....
I have tried installing pip to python 3.2, but I can't figure out how. Also, I I want to install pycassa to be able to have python and cassandra interact with each other, but I can't figure out...