cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-7284) ClassCastException in HintedHandoffManager.pagingFinished
Date Thu, 22 May 2014 10:01:03 GMT


Sylvain Lebresne updated CASSANDRA-7284:

    Attachment: 7284-v2.txt

I'll admit that I have a (very) strong preference for not making getColumn() take a Composite.
That it takes a CellName is very much on purpose since giving a non-complete cell name is
non-sensical and using the the type system to help document and enforce that. So attaching
a v2 that simply don't call getColumn() when we don't have a true cell name.

> ClassCastException in HintedHandoffManager.pagingFinished
> ---------------------------------------------------------
>                 Key: CASSANDRA-7284
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Minor
>             Fix For: 2.1 rc1
>         Attachments: 7284-v2.txt, 7284.txt
> During a long running stress test on bdplab, Ryan encountered the following interesting
exception, which I think is an as yet unfiled bug. Looks to be a pretty simple issue, introduced
> {code}
> java.lang.ClassCastException: org.apache.cassandra.db.composites.Composites$EmptyComposite
cannot be cast to org.apache.cassandra.db.composites.CellName
> 	at org.apache.cassandra.db.HintedHandOffManager.pagingFinished(
> 	at org.apache.cassandra.db.HintedHandOffManager.doDeliverHintsToEndpoint(
> 	at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(
> 	at org.apache.cassandra.db.HintedHandOffManager.access$300(
> 	at org.apache.cassandra.db.HintedHandOffManager$
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker( ~[na:1.7.0_51]
> 	at java.util.concurrent.ThreadPoolExecutor$ ~[na:1.7.0_51]
> 	at ~[na:1.7.0_51]
> {code}

This message was sent by Atlassian JIRA

View raw message