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 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! > > 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 > > org.apache.cassandra.service.StorageProxy.weakRead(StorageProxy.java:275) > > at > > > org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:218) > > at > > > org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:115) > > at > > org.apache.cassandra.thrift.CassandraServer.get(CassandraServer.java:314) > > at > > > org.apache.cassandra.thrift.Cassandra$Processor$get.process(Cassandra.java:2747) > > at > > > org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2647) > > at > > > org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167) > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > > at java.lang.Thread.run(Thread.java:619) > > Caused by: java.util.concurrent.ExecutionException: > > java.lang.IllegalStateException: column is not marked for delete > > at > > java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) > > at java.util.concurrent.FutureTask.get(FutureTask.java:83) > > at > > org.apache.cassandra.service.StorageProxy.weakRead(StorageProxy.java:271) > > ... 9 more > > Caused by: java.lang.IllegalStateException: column is not marked for > delete > > at > > org.apache.cassandra.db.Column.getMarkedForDeleteAt(Column.java:108) > > at > > > org.apache.cassandra.db.filter.QueryFilter.isRelevant(QueryFilter.java:151) > > at > > > org.apache.cassandra.db.filter.NamesQueryFilter.collectReducedColumns(NamesQueryFilter.java:81) > > at > > > org.apache.cassandra.db.filter.QueryFilter.collectCollatedColumns(QueryFilter.java:137) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1025) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:910) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:880) > > at org.apache.cassandra.db.Table.getRow(Table.java:322) > > at > > > org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:59) > > at > > > org.apache.cassandra.service.StorageProxy$weakReadLocalCallable.call(StorageProxy.java:734) > > at > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > > ... 3 more > > ERROR 13:25:59,418 Fatal exception in thread Thread[READ_STAGE:3,5,main] > > java.lang.IllegalStateException: column is not marked for delete > > at > > org.apache.cassandra.db.Column.getMarkedForDeleteAt(Column.java:108) > > at > > > org.apache.cassandra.db.filter.QueryFilter.isRelevant(QueryFilter.java:151) > > at > > > org.apache.cassandra.db.filter.NamesQueryFilter.collectReducedColumns(NamesQueryFilter.java:81) > > at > > > org.apache.cassandra.db.filter.QueryFilter.collectCollatedColumns(QueryFilter.java:137) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1025) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:910) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:880) > > at org.apache.cassandra.db.Table.getRow(Table.java:322) > > at > > > org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:59) > > at > > > org.apache.cassandra.service.StorageProxy$weakReadLocalCallable.call(StorageProxy.java:734) > > at > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > > at java.lang.Thread.run(Thread.java:619) > > Augi > > 2010/9/23 Jonathan Ellis <jbel...@gmail.com> > >> > >> 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 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 "log4j-server.properties" to Cassandra home directory, to /bin > >> > directory, to /lib directory, but the file still cannot be found :( > >> > I'm using Cassandra.bat file to run them... > >> > Augi > >> > > >> > 2010/9/23 Sylvain Lebresne <sylv...@yakaz.com> > >> >> > >> >> 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.mic...@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 > >> > > >> > > >> > >> > >> > >> -- > >> Jonathan Ellis > >> Project Chair, Apache Cassandra > >> co-founder of Riptano, the source for professional Cassandra support > >> http://riptano.com > > > > >