Adding secondary index: java.lang.ArithmeticException: / by zero

2010-12-23 Thread Timo Nentwig
I was about to add a secondary index (which apparently failed) to existing data. When I restarted the node it crashed (!) with: INFO 09:21:36,510 Opening /var/lib/cassandra/data/test/tracking.6b6579-tmp-e-1 ERROR 09:21:36,512 Exception encountered during startup. java.lang.ArithmeticException: /

Re: Cassandra Node Routinely Goes Down - 0.7 RC2

2010-12-23 Thread Robert Coli
On Wed, Dec 22, 2010 at 7:21 AM, Dan Hendry wrote: > Can one of the Cassandra devs or anybody who knows about memory mapping > comment on this/my particular mmap situation? Pardon me if this has been covered or if you are already aware, but if not, you might find : https://issues.apache.org/jira

Re: Adding secondary index: java.lang.ArithmeticException: / by zero

2010-12-23 Thread Timo Nentwig
On Dec 23, 2010, at 9:34, Timo Nentwig wrote: > I was about to add a secondary index (which apparently failed) to existing > data. When I restarted the node it crashed (!) with: It crashed because it ran out of heap space (2G). So I increased to 3.5G but after a whlie it's caught in full GC ag

Having trouble getting cassandra to stay up

2010-12-23 Thread Alex Quan
Hi, I am a newbie to cassandra and am using cassandra RC 2. I initially have cassndra working on one node and was able to create keyspace, column families and populate the database fine. I tried adding a second node by changing the seed to point to another node and setting listen_address and rpc_a

Re: cli 'list' command not returning all data, get_range_slices bug?

2010-12-23 Thread mike dooley
hi,i wrote a little test program to duplicate the problem and eliminate pelops (attached) CClient.java Description: Binary data .i think the problem may be related tohttps://issues.apache.org/jira/browse/CASSANDRA-1198because watching the logs (at debug level) i see the remote node returningits da

Re: cli 'list' command not returning all data, get_range_slices bug?

2010-12-23 Thread mike dooley
sorry i should also have included my cassandra.ymland schema file too.  here they are cassandra.yaml-test Description: Binary data  the only difference between the 2 nodes is the initial token, 0 for the local node (17.224.36.17)and 85070591730234615865843651857942052864 for the remote node (17.22

Re: Having trouble getting cassandra to stay up

2010-12-23 Thread Dan Hendry
Your details are rather vague, what do you mean by killed? Is the Cassandra java process still running? Any other warning or error log messages (from either node)? Could you provide the last few Cassandra log lines from each machine? Can you connect to the node via JMX? What is the output of nodeto

Re: cli 'list' command not returning all data, get_range_slices bug?

2010-12-23 Thread Jonathan Ellis
On Thu, Dec 23, 2010 at 3:00 PM, mike dooley wrote: > DEBUG [pool-1-thread-4] 2010-12-23 12:54:26,958 StorageProxy.java (line 597) > restricted ranges for query [0,0] are [[0,0]] This is the bug. It's not going to query the remote node unless 85070591730234615865843651857942052864 is part of the

complexity

2010-12-23 Thread Kevin Irwig
Hi, I've seen a similar question has been asked in this forum in Sept, but not answered. What is the complexity of get(row) and get(row, column-name) operations, and insert(row, column)? What about accessing or inserting a column within a SuperColumn by name? In Arin Sarkissian's "WTF is a Su