Re: Storing (python) objects

2011-09-23 Thread Koert Kuipers
i would advise not to use a language specific storage format, you might regret it later on if you want to add an application to your system that is written in anything else than python. i mean python is great, but it is not necessary the right tool for every job look at thrift/protobuf/avro/bson/j

Re: question about cassandra.in.sh

2011-08-25 Thread Koert Kuipers
o and them i am by accident using the wrong application. once applications are aware of their home dir all i have to do is "ln -s /usr/lib/cassandra-0.7/bin/nodetool /usr/sbin/nodetool-0.7" and then i can use it without risk of confusion. best, koert On Wed, Aug 24, 2011 at 9:48 PM,

question about cassandra.in.sh

2011-08-24 Thread Koert Kuipers
i have an existing cassandra instance on my machine, it came with brisk and lives in /usr/share/brisk/cassandra. it also created /usr/share/cassandra/ cassandra.in.sh now i wanted to run another instance of cassandra (i needed a 0.7 version for compatibility reasons), so i downloaded it from apach

RE: how to do a get_range_slices where all keys start with same string

2011-01-11 Thread Koert Kuipers
, Jan 11, 2011 at 7:45 PM, Koert Kuipers wrote: > I would like to do a get_range_slices for all keys (which are strings) that > start with the same substring x (for example "com.google"). How do I do > that? > > start_key = x abd end_key = x doesn't seem to do the jo

how to do a get_range_slices where all keys start with same string

2011-01-11 Thread Koert Kuipers
I would like to do a get_range_slices for all keys (which are strings) that start with the same substring x (for example "com.google"). How do I do that? start_key = x abd end_key = x doesn't seem to do the job... thanks koert

encoding of values in cassandra

2010-11-10 Thread Koert Kuipers
Cassandra keys and values are just bytes. My values range from simple doubles to complex objects so I need to serialize them with something like avro, thrift or protobuf. Since I am working in a test environment and casssandra is moving to avro I decided to use the avro protocol to communicate

RE: cassandra + avro | python client vs java client

2010-10-27 Thread Koert Kuipers
right in line with how much faster I would expect Java to be than pure Python. On Wed, Oct 27, 2010 at 11:59 AM, Koert Kuipers wrote: > Hey all, > > I have Cassandra 0.7 (nightly build from halfway September) running on one > test machine with the avro interface. The node holds about

java.lang.OutOfMemoryError: Map failed

2010-10-27 Thread Koert Kuipers
While bootstrapping a new node, the existing node that is supposed to provide the data throws an error, and the bootstrapping hangs. The log from the existing node is below. Both nodes have little memory (only 2 Gig, windows machines). I used default configurations (Cassandra 0.7). Any suggestio

RE: deletion

2010-10-14 Thread Koert Kuipers
hat helps. Aaron On 15 Oct, 2010,at 07:55 AM, Koert Kuipers wrote: Hello All, I am testing Cassandra 0.7 with the Avro api on a single machine as a financial time series server, so my setup looks something like this: keyspace = timeseries, column family = tickdata, key = ticker, super column =

deletion

2010-10-14 Thread Koert Kuipers
Hello All, I am testing Cassandra 0.7 with the Avro api on a single machine as a financial time series server, so my setup looks something like this: keyspace = timeseries, column family = tickdata, key = ticker, super column = field (price, volume, high, low), column = timestamp. So a single v