Internal error processing get in get after insert ttl

2010-09-23 Thread Michal Augustýn
Hello, I tried to use Column.Ttl property but I was not successful. My simple test: 1) insert column with ttl = 3 2) get column - all is ok 3) wait for 2 seconds 4) get column - all is ok 5) wait again for 2 seconds (so column should disappear) 6) get column - I got Thrift.TApplicationException

Re: column expiration and rows in 0.7

2010-09-23 Thread Alaa Zubaidi
Thanks.. but, in 0.7 every CF has its own GCgraceSeconds which is gc_grace_seconds, and I am setting gc_grace_seconds to 5 hours and the columns ttl to 4 hours, this means that after 5 hours the columns should be removed, and the keys are removed too, right?, however, I still see the keys

Re: column expiration and rows in 0.7

2010-09-23 Thread Sylvain Lebresne
A few things: 1- in your case, the expiring columns are gc-able 5 hours after the column expires. So roughly 9 hours after the column insertion, not 5. 2- columns are not necessarily removed after gc_grace_seconds elapses exactly. They get removed by the first *major* compaction

Re: Internal error processing get in get after insert ttl -

2010-09-23 Thread vineet daniel
I got similar error but while inserting I am using 07 Beta 1 and l found the following in the logs : ERROR 13:59:44,555 Internal error processing insert java.lang.AssertionError: invalid response count 1 at

Throughput performance problem

2010-09-23 Thread Martin Hentschel
When inserting rows to Cassandra, we have noticed an odd performance behavior. When we insert rows with increasing row keys (0,1,2,...) we get a throughput that is 10% higher than when we insert rows with random row keys (in the range of 0 to 1'000'000). This is strange because we use the

Re: Internal error processing get in get after insert ttl -

2010-09-23 Thread vineet daniel
Hi I was using 'access_logs' as column family name changed it to Accesslogs and it worked. May be cassandra doesn't like underscores and small letters. Regards Vineet Daniel Cell : +918106217121 Websites : Blog http://vinetedaniel.blogspot.com |

Re: Internal error processing get in get after insert ttl -

2010-09-23 Thread Michal Augustýn
I don't have underscores in column families names... Btw. I'm using yesterday's night build. Augi 2010/9/23 vineet daniel vineetdan...@gmail.com Hi I was using 'access_logs' as column family name changed it to Accesslogs and it worked. May be cassandra doesn't like underscores and small

Re: Internal error processing get in get after insert ttl

2010-09-23 Thread Michal Augustýn
Unfortunately, I'm running Cassandra on Windows platform and the logging doesn't work; I'm not able to configure them properly respectively. I always get log4j:WARN No appenders could be found for logger (org.apache.cassandra.utils.CLibrary). after Cassandra starts. I tried to copy

Re: Internal error processing get in get after insert ttl

2010-09-23 Thread Jonathan Ellis
cassandra.bat is looking for a file named log4j.properties on the classpath. On Thu, Sep 23, 2010 at 5:52 AM, Michal Augustýn augustyn.mic...@gmail.com wrote: Unfortunately, I'm running Cassandra on Windows platform and the logging doesn't work; I'm not able to configure them properly

Re: Internal error processing get in get after insert ttl

2010-09-23 Thread Michal Augustýn
Ah, I didn't know that, thank you! Here is the trace: ERROR 13:25:59,418 Internal error processing get java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: column is not marked for delete at

Re: Internal error processing get in get after insert ttl

2010-09-23 Thread Sylvain Lebresne
Oups, that would be a bug. Would you mind grabbing the patch attached to https://issues.apache.org/jira/browse/CASSANDRA-1539 and check that is does fix the problem ? -- Sylvain On Thu, Sep 23, 2010 at 1:28 PM, Michal Augustýn augustyn.mic...@gmail.com wrote: Ah, I didn't know that, thank you!

Re: Internal error processing get in get after insert ttl

2010-09-23 Thread Michal Augustýn
Thank you very much! This solved my problem. Columns are really deleted and there is no warn/error in log. Augi 2010/9/23 Sylvain Lebresne sylv...@yakaz.com Oups, that would be a bug. Would you mind grabbing the patch attached to https://issues.apache.org/jira/browse/CASSANDRA-1539 and check

NullPointerException in TCP Selector Manager [Cassandra 0.5.1]

2010-09-23 Thread Adam Holmberg
Hello, I've been working with Cassandra for some time and get this error intermittently: ERROR [TCP Selector Manager] 2010-09-23 08:42:18,138 service.CassandraDaemon Fatal exception in thread Thread[TCP Selector Manager,5,main] java.lang.NullPointerException at

Re: Thrift gen problem with cassandra.thrift

2010-09-23 Thread Shashank Tiwari
I finally grabbed Cassandra off the trunk to make things work so I guess it is 0.7. If I start the same server and connect to it, should things work? I am happy using pycassa or telephus but I had Thrift installed for things beyond Cassandra (for example for Hypertable) and I was hoping that

Re: NullPointerException in TCP Selector Manager [Cassandra 0.5.1]

2010-09-23 Thread Jonathan Ellis
Yes, that is a problem with 0.5.1. Unfortunately we are not planning any more releases to 0.5. On Thu, Sep 23, 2010 at 1:18 PM, Adam Holmberg adam.holmberg.l...@gmail.com wrote: Hello, I've been working with Cassandra for some time and get this error intermittently: ERROR [TCP Selector