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

Adam J Shook commented on ACCUMULO-4633:
----------------------------------------

Sounds good to me.  Thanks for getting to this -- haven't had the time myself.

> ArithmeticException on TabletServerBatchWriter#logStats
> -------------------------------------------------------
>
>                 Key: ACCUMULO-4633
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4633
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.7.3
>            Reporter: Adam J Shook
>            Priority: Minor
>
> Getting the below divide by zero error.  It is related to replication, but I 
> imagine it could occur at any stage.
> {code}
> Error trying to close write-ahead logs for replication table
>       java.lang.ArithmeticException: / by zero
>               at 
> org.apache.accumulo.core.client.impl.TabletServerBatchWriter.logStats(TabletServerBatchWriter.java:418)
>               at 
> org.apache.accumulo.core.client.impl.TabletServerBatchWriter.close(TabletServerBatchWriter.java:369)
>               at 
> org.apache.accumulo.core.client.impl.BatchWriterImpl.close(BatchWriterImpl.java:54)
>               at 
> org.apache.accumulo.gc.replication.CloseWriteAheadLogReferences.updateReplicationEntries(CloseWriteAheadLogReferences.java:271)
>               at 
> org.apache.accumulo.gc.replication.CloseWriteAheadLogReferences.run(CloseWriteAheadLogReferences.java:154)
>               at 
> org.apache.accumulo.gc.SimpleGarbageCollector.run(SimpleGarbageCollector.java:569)
>               at 
> org.apache.accumulo.gc.SimpleGarbageCollector.main(SimpleGarbageCollector.java:159)
>               at 
> org.apache.accumulo.gc.GCExecutable.execute(GCExecutable.java:34)
>               at org.apache.accumulo.start.Main$1.run(Main.java:120)
>               at java.lang.Thread.run(Thread.java:745)
> {code}
> {code}
> Caught Exception trying to remove finished Replication records
>       java.lang.ArithmeticException: / by zero
>               at 
> org.apache.accumulo.core.client.impl.TabletServerBatchWriter.logStats(TabletServerBatchWriter.java:418)
>               at 
> org.apache.accumulo.core.client.impl.TabletServerBatchWriter.close(TabletServerBatchWriter.java:369)
>               at 
> org.apache.accumulo.core.client.impl.BatchWriterImpl.close(BatchWriterImpl.java:54)
>               at 
> org.apache.accumulo.master.replication.RemoveCompleteReplicationRecords.run(RemoveCompleteReplicationRecords.java:100)
>               at 
> org.apache.accumulo.master.replication.ReplicationDriver.run(ReplicationDriver.java:110)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to