EOFException after upgrading to 0.5.0

2010-01-28 Thread B R
Hi guys, We are in the process of upgrading from Cassandra 0.4.2 to 0.5.0 The first issue I faced was : java.lang.OutOfMemoryError: Java heap space at org.apache.cassandra.db.CommitLog.recover(CommitLog.java:318) at org.apache.cassandra.db.RecoveryManager.doRecovery(RecoveryManager.java:65)

How to write insert query in Cassandra

2010-01-28 Thread Mehar Chaitanya
Hi All I have configured Cassandra in my PC I want to insert some data into it is there any graphical interface for doing this like we do in Mysql with hep GUI tools etc.., Suppose I want to insert a data like below How can i do that UserList = { John: { username: john,

Re: EOFException after upgrading to 0.5.0

2010-01-28 Thread Jonathan Ellis
please read NEWS.txt, both of your problems are covered there (flush your commitlog, and don't mix 0.4 and 0.5 nodes in the same cluster) On Thu, Jan 28, 2010 at 6:44 AM, B R software.research.w...@gmail.com wrote: Hi guys, We are in the process of upgrading from Cassandra 0.4.2 to 0.5.0 The

Re: How to write insert query in Cassandra

2010-01-28 Thread Jonathan Ellis
i believe cassandra_browser in contrib/ can do inserts with a gui, but it's nowhere near as mature as what you would see for mysql. you will also want to read http://wiki.apache.org/cassandra/API and http://wiki.apache.org/cassandra/ClientExamples and probably

Understand how to provision nodes and use cassandra in the production

2010-01-28 Thread Suhail Doshi
We've started to use Cassandra in production and just have one node right now. Here's one of our ColumnFamilys: 16G Jan 28 22:28 SomeIndex-5467-Index.db 196M Jan 28 22:32 SomeIndex-5487-Index.db The first bottle neck you encounter is reads--writes are extremely fast even with one node. My

Re: Understand how to provision nodes and use cassandra in the production

2010-01-28 Thread Jonathan Ellis
On Thu, Jan 28, 2010 at 9:23 PM, Suhail Doshi suh...@mixpanel.com wrote: We've started to use Cassandra in production and just have one node right now. Here's one of our ColumnFamilys: 16G Jan 28 22:28 SomeIndex-5467-Index.db 196M Jan 28 22:32 SomeIndex-5487-Index.db The first bottle neck

Re: Understand how to provision nodes and use cassandra in the production

2010-01-28 Thread Suhail Doshi
Another piece I am interested in is how cassandra distributes the data automatically. In MySQL you need to shard and you'd pick the shard to request info from--how does that translate in cassandra? On Thu, Jan 28, 2010 at 7:23 PM, Suhail Doshi suh...@mixpanel.com wrote: We've started to use

Re: Understand how to provision nodes and use cassandra in the production

2010-01-28 Thread Ray Slakinski
Cassandra auto shards, so you just need to point at your cluster and cassandra does the rest. You should read up on different partitioners though before you go live in production, because its not too easy to switch once you make that decision.