cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7354) Divide by zero in hinted handoff
Date Thu, 05 Jun 2014 15:17:02 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018852#comment-14018852
] 

Jonathan Ellis commented on CASSANDRA-7354:
-------------------------------------------

bq. Apparently it's possible for meanRowSize to be 0 when meanColumnCount is not

How does that work?

> Divide by zero in hinted handoff
> --------------------------------
>
>                 Key: CASSANDRA-7354
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7354
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: C* 2.0.8, x86-64 ubuntu 12.04
>            Reporter: Duncan Sands
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 1.2.17, 2.0.9, 2.1.0
>
>         Attachments: 7354.txt
>
>
> Got this on a node shortly after upgrading it to 2.0.8.  The other node went down and
up (triggering the hinted handoff) because it was being migrated from 2.0.7 to 2.0.8.
> INFO [HintedHandoff:1] 2014-06-05 07:26:35,447 HintedHandOffManager.java (line 344) Started
hinted handoff for host: b12e6d71-e189-4fe8-b00a-8ff2cc9848fd wit
> h IP: /192.168.60.137
> ERROR [HintedHandoff:1] 2014-06-05 07:26:35,448 CassandraDaemon.java (line 199) Exception
in thread Thread[HintedHandoff:1,1,main]
> java.lang.ArithmeticException: / by zero
>         at org.apache.cassandra.db.HintedHandOffManager.calculatePageSize(HintedHandOffManager.java:493)
>         at org.apache.cassandra.db.HintedHandOffManager.doDeliverHintsToEndpoint(HintedHandOffManager.java:351)
>         at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:330)
>         at org.apache.cassandra.db.HintedHandOffManager.access$300(HintedHandOffManager.java:91)
>         at org.apache.cassandra.db.HintedHandOffManager$5.run(HintedHandOffManager.java:547)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message