You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (Updated) (JIRA)" <ji...@apache.org> on 2012/01/04 16:23:39 UTC
[jira] [Updated] (CASSANDRA-3694) ClassCastException during hinted
handoff
[ https://issues.apache.org/jira/browse/CASSANDRA-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne updated CASSANDRA-3694:
----------------------------------------
Attachment: 3694.patch
Fix attached.
For the record, this was introduced by CASSANDRA-3554. I think we should try to make sure we use generics for Range object now as this would typically have caught this one.
> ClassCastException during hinted handoff
> ----------------------------------------
>
> Key: CASSANDRA-3694
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3694
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1
> Reporter: Brandon Williams
> Fix For: 1.1
>
> Attachments: 3694.patch
>
>
> {noformat}
> ERROR 08:51:00,200 Fatal exception in thread Thread[OptionalTasks:1,5,main]
> java.lang.ClassCastException: org.apache.cassandra.dht.BigIntegerToken cannot be cast to org.apache.cassandra.db.RowPosition
> at org.apache.cassandra.db.ColumnFamilyStore.getSequentialIterator(ColumnFamilyStore.java:1286)
> at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1356)
> at org.apache.cassandra.db.HintedHandOffManager.scheduleAllDeliveries(HintedHandOffManager.java:351)
> at org.apache.cassandra.db.HintedHandOffManager.access$000(HintedHandOffManager.java:84)
> at org.apache.cassandra.db.HintedHandOffManager$1.run(HintedHandOffManager.java:119)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
> 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:662)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira