You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by Hamado Dene <ha...@yahoo.com.INVALID> on 2020/07/13 07:58:39 UTC

IllegalArgumentException: newCapacity: -329580544 (expected: 0-2147483647)

Hi everyone,
We found this exception on our production cluster.We don't know how to reproduce the problem, but it's the second time that happens to us. We have already created an issue about it on Github.


20-07-13-00-07-40       Unexpected throwable caught

20-07-13-00-07-40       java.lang.IllegalArgumentException: newCapacity: -329580544 (expected: 0-2147483647)

java.lang.IllegalArgumentException: newCapacity: -329580544 (expected: 0-2147483647)

        at io.netty.buffer.AbstractByteBuf.checkNewCapacity(AbstractByteBuf.java:1470)

        at io.netty.buffer.PooledByteBuf.capacity(PooledByteBuf.java:100)

        at org.apache.bookkeeper.bookie.EntryLogger.scanEntryLog(EntryLogger.java:1014)

        at org.apache.bookkeeper.bookie.EntryLogger.extractEntryLogMetadataByScanning(EntryLogger.java:1132)

        at org.apache.bookkeeper.bookie.EntryLogger.getEntryLogMetadata(EntryLogger.java:1041)

        at org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLogs(GarbageCollectorThread.java:557)

        at org.apache.bookkeeper.bookie.GarbageCollectorThread.runWithFlags(GarbageCollectorThread.java:328)

        at org.apache.bookkeeper.bookie.GarbageCollectorThread.safeRun(GarbageCollectorThread.java:309)

        at org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36)

        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)

        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)

        at java.base/java.lang.Thread.run(Thread.java:830)

I hope you can help us solve this problem.Thanks and best regards
Hamado