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 able to capture some debug logging on the nodes involved in 
the request?


Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 27/02/2012, at 3:54 PM, Gary Ogasawara wrote:

> 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 class type.
>        at
> org.apache.cassandra.db.CounterColumn.diff(CounterColumn.java:112)
>        at org.apache.cassandra.db.ColumnFamily.diff(ColumnFamily.java:230)
>        at org.apache.cassandra.db.ColumnFamily.diff(ColumnFamily.java:309)
>        at
> org.apache.cassandra.service.RowRepairResolver.scheduleRepairs(RowRepairReso
> lver.java:117)
>        at
> org.apache.cassandra.service.RowRepairResolver.resolve(RowRepairResolver.jav
> a:94)
>        at
> org.apache.cassandra.service.AsyncRepairCallback$1.runMayThrow(AsyncRepairCa
> llback.java:54)
>        at
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>        at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
> 10)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
> 03)
>        at java.lang.Thread.run(Thread.java:722)
> ERROR [ReadRepairStage:9] 2012-02-24 18:31:28,625
> AbstractCassandraDaemon.java
> (line 139) Fatal exception in thread Thread[ReadRepairStage:9,5,main]
> ------
> 
> From cassandra-cli "show schema", I think the relevant CF is:
> 
> create column family QOSCounters
>  with column_type = 'Standard'
>  and comparator = 'UTF8Type'
>  and default_validation_class = 'CounterColumnType'
>  and key_validation_class = 'UTF8Type'
>  and rows_cached = 0.0
>  and row_cache_save_period = 0
>  and row_cache_keys_to_save = 2147483647
>  and keys_cached = 200000.0
>  and key_cache_save_period = 14400
>  and read_repair_chance = 1.0
>  and gc_grace = 604800
>  and min_compaction_threshold = 4
>  and max_compaction_threshold = 32
>  and replicate_on_write = true
>  and row_cache_provider = 'SerializingCacheProvider'
>  and compaction_strategy =
> 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy';
> 
> 

Reply via email to