CorruptedBlockException

2012-07-05 Thread Nury Redjepow
Hello to all,  I have cassandra instance I'm trying to use to store millions of file with size ~ 3MB. Data structure is simple, 1 row for 1 file, with row key being the id of file. I'm loaded 1GB of data, and total available space is 10GB. And after a few hour, all the available space was taken

Re: How to use row caching to enable faster retrieval of rows in Cassandra

2012-06-27 Thread Nury Redjepow
You should read this page for settings http://www.datastax.com/dev/blog/caching-in-cassandra-1-1 Basically, you have to set row_cache size in yaml, and create table with caching flags - "all" or " rows_only", but beware that you shouldn't use row cache, if you using wide rows. Tue, 26 Jun 2012

Re: bulk load problem

2012-06-27 Thread Nury Redjepow
What is your yaml setting for rpc and listen server on destination node? Nury Tue, 26 Jun 2012 17:07:49 -0700 от James Pirz : Dear all, I am trying to use "sstableloader" in cassandra 1.1.1, to bulk load some data into a single node cluster. I am running the following command: bin/sst

Using row cache causes slowdown and unavailable reads

2012-06-20 Thread Nury Redjepow
Good day, I'm load testing our cassandra instance. I have a column family with 2300 rows, each being ~ 5MB. And I run same query which asks for same rows. With caching='keys_only" response time is adequate. But with caching='ALL', we get four times larger response time and 40-50$ of requests do

Re[2]: Problem with streaming with sstableloader into ubuntu node

2012-06-18 Thread Nury Redjepow
://issues.apache.org/jira/browse/CASSANDRA it may get looked it.  Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 16/06/2012, at 12:41 AM, Nury Redjepow wrote: Good day, everyone We are using sstableloader to bulk insert data into cassandra.

Problem with streaming with sstableloader into ubuntu node

2012-06-15 Thread Nury Redjepow
Good day, everyone We are using sstableloader to bulk insert data into cassandra. Script is executed on developers machine with Windows to Single Node Cassandra.  "%JAVA_HOME%\bin\java" -ea -cp %CASSANDRA_CLASSPATH% -Xmx256M -Dlog4j.configuration=log4j-tools.properties org.apache.cassandra.to

How can we use composite indexes and secondary indexes together

2012-05-31 Thread Nury Redjepow
We want to use cassandra to store complex data. But we can't figure out, how to organize indexes. Our table (column family) looks like this: Users = { RandomId int, Firstname varchar, Lastname varchar, Age int, Country int, ChildCount int } In our queries we have mandatory fields (Firstname,Lastn