how to store list ?

2010-04-02 Thread Shuge Lee
For example: user['lee'] = { 'name': 'lee', 'age'; '21', 'girls': ['java', 'actionscript', 'python'], } how to store above in Apache Cassndra ? -- Shuge Lee | Lee Li | 李蠡

Re: best practice for migrating data

2010-04-02 Thread Gary Dusbabek
AJ, The wiki gives an outline of how to do this: http://wiki.apache.org/cassandra/FAQ#modify_cf_config Gary On Thu, Apr 1, 2010 at 23:18, AJ Chen ajc...@web2express.org wrote: when adding/changing a column to a column family for existing data in cassandra, what's a good way to do it? thanks,

Re: get_range_slice leads to java.lang.OutOfMemoryError?

2010-04-02 Thread Benoit Perroud
A way to read all the db without having an OOM is to limit the amount of rows to be returned, and to iterate over the query, the starting key being the last returned key. Note that doing that way the first key of the next iteration is the same as the last key of the preivous iteration. The

Strange results

2010-04-02 Thread Sokolov Evgeniy
Hello! Can you help me? We test cassandra and got strange results. We started cassandra on one server with 2GB RAM, limit memory for cassandra to 512Mb and set 1 million simple records (160 byte length). First, when we store data throught 8 scripts from another server, we got several exceptions

Re: Proxy instances?

2010-04-02 Thread Josh
Is the notion here that you'd run all writes/reads through that node and let it decide where to get the data from? I've been working on a C# client library and I've been picking a node at random from the cluster and letting it figure things out. Would a setup like this be better? Keep all the

Re: Strange results

2010-04-02 Thread Jonathan Ellis
Are you using a thrift connection object from more than one thread? On Fri, Apr 2, 2010 at 9:49 AM, Sokolov Evgeniy ewg...@gmail.com wrote: Hello! Can you help me? We test cassandra and got strange results. We started cassandra on one server with 2GB RAM, limit memory for cassandra to 512Mb

Re: Cassandra Hackathon in SF @ Digg - 04/22 6:30pm

2010-04-02 Thread Eric Evans
On Thu, 2010-03-25 at 15:13 -0700, Chris Goffinet wrote: As promised, here is the official invite to register for the hackathon in SF. The event starts at 6:30pm on April 22nd. http://cassandrahackathon.eventbrite.com/ It looks like there is also a workshop on Big Data at the Computer

Architecture question

2010-04-02 Thread Brian Hawkins
What pieces of data make up the token that determines on what node the data is placed? Specifically are all the columns placed on the same node? What about super columns, are they all placed on the same node? Thanks Brian

Re: best practice for migrating data

2010-04-02 Thread yaw
Hi all, this tells us to stop and start Cassandra ... I hope we are not asked to stop whole cluster ... Can we proceed node after node ? ( But how cluster could handle different config.xml files ?) 2010/4/2 Gary Dusbabek gdusba...@gmail.com AJ, The wiki gives an outline of how to do

Re: Stalled Bootstrapping Process

2010-04-02 Thread Chris Goffinet
+1 On Fri, Apr 2, 2010 at 3:49 PM, Jonathan Ellis jbel...@gmail.com wrote: Ah, right. That's confusing for everyone. I think the best solution there is to just get http://issues.apache.org/jira/browse/CASSANDRA-579 done so it can start streaming immediately. On Fri, Apr 2, 2010 at 5:45

Heap sudden jump during import

2010-04-02 Thread Weijun Li
I'm running a test to write 30 million columns (700bytes each) to Cassandra: the process ran smoothly for about 20mil then the heap usage suddenly jumped from 2GB to 3GB which is the up limit of JVM, --from this point Cassandra will freeze for long time (terrible latency, no response to nodetool

Bug regarding removing and retrieving entire supercolumn.

2010-04-02 Thread Arash Bazrafshan
Hullo. Think I got a bug in Cassandra. Do you also think it's a bug? It should be noted that I experience this bug when using cassandra through thrift's php api (the low-level one generated by thrift, not some high-level from the cassandra wiki). It happens when i insert a supercolumn (with a

Re: get_range_slice leads to java.lang.OutOfMemoryError?

2010-04-02 Thread Gautam Singaraju
Benoit, Thanks, that helped. I should have checked that one out before. --- Gautam On Fri, Apr 2, 2010 at 10:16 AM, Benoit Perroud ben...@noisette.ch wrote: A way to read all the db without having an OOM is to limit the amount of rows to be returned, and to iterate over the query, the