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] [Resolved] (CASSANDRA-7456) Hinted Handoff: java.lang.ArithmeticException: / by zero
Date Thu, 26 Jun 2014 22:33:24 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-7456.
---------------------------------------

    Resolution: Duplicate

> Hinted Handoff: java.lang.ArithmeticException: / by zero
> --------------------------------------------------------
>
>                 Key: CASSANDRA-7456
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7456
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: 2.0.6
>            Reporter: sankalp kohli
>            Assignee: sankalp kohli
>            Priority: Minor
>
> We are seeing this exception. This is similar to CASSANDRA-5990 but here the exception
is coming because hintStore.getMeanRowSize() is returning zero i think. This is blowing up
in 
> return Math.max(2, Math.min(PAGE_SIZE, DatabaseDescriptor.getInMemoryCompactionLimit()
/ averageColumnSize)); 
> java.lang.ArithmeticException: / by zero
> 	at org.apache.cassandra.db.HintedHandOffManager.calculatePageSize(HintedHandOffManager.java:504)
> 	at org.apache.cassandra.db.HintedHandOffManager.doDeliverHintsToEndpoint(HintedHandOffManager.java:352)
> 	at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:331)
> 	at org.apache.cassandra.db.HintedHandOffManager.access$300(HintedHandOffManager.java:92)
> 	at org.apache.cassandra.db.HintedHandOffManager$5.run(HintedHandOffManager.java:558)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)



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

Mime
View raw message