I don't have underscores in column families names...
Btw. I'm using yesterday's night build.

Augi

2010/9/23 vineet daniel <vineetdaniel@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 letters.


Regards
Vineet Daniel
Cell          : +918106217121
Websites :

Blog   |   Linkedin  |  Twitter




On Thu, Sep 23, 2010 at 2:06 PM, vineet daniel <vineetdaniel@gmail.com> wrote:
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 org.apache.cassandra.service.WriteResponseHandler.determineBlockFor(WriteResponseHandler.java:87)
        at org.apache.cassandra.service.WriteResponseHandler.<init>(WriteResponseHandler.java:47)
        at org.apache.cassandra.locator.AbstractReplicationStrategy.getWriteResponseHandler(AbstractReplicationStrategy.java:113)
        at org.apache.cassandra.service.StorageProxy.mutateBlocking(StorageProxy.java:198)
        at org.apache.cassandra.thrift.CassandraServer.doInsert(CassandraServer.java:474)
        at org.apache.cassandra.thrift.CassandraServer.insert(CassandraServer.java:390)
        at org.apache.cassandra.thrift.Cassandra$Processor$insert.process(Cassandra.java:2896)
        at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2499)
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)


Regards
Vineet Daniel
Cell          : +918106217121
Websites :

Blog   |   Linkedin  |  Twitter




On Thu, Sep 23, 2010 at 12:48 PM, Sylvain Lebresne <sylvain@yakaz.com> wrote:
You should not have anything special to do.
Could you check the cassandra logs and give us the stack trace of the error ?

--
Sylvain

On Thu, Sep 23, 2010 at 8:36 AM, Michal Augustýn
<augustyn.michal@gmail.com> wrote:
> 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" of type 6 with message
> "Internal error processing get"
> Do I have to change some Cassandra configuration in order to get ttl
> working? Or am I doing anything in bad way?
> Thank you!
> Augi