You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Miller (JIRA)" <ji...@apache.org> on 2017/05/03 22:10:04 UTC

[jira] [Resolved] (ACCUMULO-4633) ArithmeticException on TabletServerBatchWriter#logStats

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

Michael Miller resolved ACCUMULO-4633.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.2
                   1.7.4

> 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
>            Assignee: Michael Miller
>            Priority: Minor
>             Fix For: 1.7.4, 1.8.2, 2.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)