Re: CounterColumn java.lang.AssertionError: Wrong class type.

2012-02-27 Thread aaron morton
To rule out the obvious problem can you check the nodes have the same schema ? Use cassandra-cli and run describe cluster. It looks like one of the nodes involved in the read has sent the wrong sort of column for the CF. That's not the sort of thing that normally happens. Otherwise are you abl

CounterColumn java.lang.AssertionError: Wrong class type.

2012-02-26 Thread Gary Ogasawara
Using v1.0.7, we see many of the following errors. Any thoughts on why this is occurring? Thanks in advance. -gary ERROR [ReadRepairStage:9] 2012-02-24 18:31:28,623 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[ReadRepairStage:9,5,main] java.lang.AssertionError: Wrong c

Re: CounterColumn

2011-05-20 Thread Jonathan Ellis
Look for "Fix version" on the ticket: https://issues.apache.org/jira/browse/CASSANDRA-2614. On Fri, May 20, 2011 at 4:35 PM, Mark Emerson wrote: > CASSANDRA-2614 - create Column and CounterColumn in the same column family > when this will be in cassandra > will this

CounterColumn

2011-05-20 Thread Mark Emerson
CASSANDRA-2614 - create Column and CounterColumn in the same column family when this will be in cassandra will this be in cassandra 0.8

Re: CounterColumn increments gone after restart

2011-05-12 Thread Utku Can Topçu
see the ticket https://issues.apache.org/jira/browse/CASSANDRA-2642 please On Thu, May 12, 2011 at 3:28 PM, Utku Can Topçu wrote: > Hi guys, > > I have strange problem with 0.8.0-rc1. I'm not quite sure if this is the > way it should be but: > - I create a ColumnFamily named Counters > - do a fe

CounterColumn increments gone after restart

2011-05-12 Thread Utku Can Topçu
Hi guys, I have strange problem with 0.8.0-rc1. I'm not quite sure if this is the way it should be but: - I create a ColumnFamily named Counters - do a few increments on a column. - kill cassandra - start cassandra When I look at the counter column, the value is 1. See the following pastebin ple

Re: is it possible to mutate Columns and CounterColumn in the same batch mutation?

2011-03-25 Thread Patricio Echagüe
thank you both. That makes Hector design much easier as well. On Fri, Mar 25, 2011 at 2:50 AM, Sylvain Lebresne wrote: > 2011/3/25 Jonathan Ellis : > > You can't have them both in the same Mutation struct, but you can have > > them in the map>> that is the "batch." > > Actually you can't, because

Re: is it possible to mutate Columns and CounterColumn in the same batch mutation?

2011-03-25 Thread Sylvain Lebresne
2011/3/25 Jonathan Ellis : > You can't have them both in the same Mutation struct, but you can have > them in the map>> that is the "batch." Actually you can't, because we created a different thrift structure (CounteMutation) to hold counter mutations. Looking back, we really just did that to have

Re: is it possible to mutate Columns and CounterColumn in the same batch mutation?

2011-03-24 Thread Jonathan Ellis
You can't have them both in the same Mutation struct, but you can have them in the map>> that is the "batch." 2011/3/24 Patricio Echagüe : > Hi folks, I'm modeling the partitioned counters into Hector and given the > non-inheritance of Thrift, I don't see how to add a ColumnCounter and a > Column

is it possible to mutate Columns and CounterColumn in the same batch mutation?

2011-03-24 Thread Patricio Echagüe
Hi folks, I'm modeling the partitioned counters into Hector and given the non-inheritance of Thrift, I don't see how to add a ColumnCounter and a Column in the same batch mutation. Is it possible do achieve? or are both in fact different mutations? Thanks