sijie opened a new issue #1703: IllegalReferenceCountException at closing 
EntryLogManagerForSingleEntryLog
URL: https://github.com/apache/bookkeeper/issues/1703
 
 
   
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do?
   
   run bookkeeper standalone
   
   - What did you expect to see?
   
   bookkeeper runs well and no surprise in the log
   
   - What did you see instead?
   
   ```
   2018-09-24 19:03:58,116 - WARN  [component-shutdown-thread:Slf4JLogger@146] 
- Failed to release a message: PooledUnsafeDirectByteBuf(freed)
   io.netty.util.IllegalReferenceCountException: refCnt: 0, increment: 1
           at 
io.netty.buffer.AbstractReferenceCountedByteBuf.release0(AbstractReferenceCountedByteBuf.java:100)
           at 
io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:84)
           at 
io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:88)
           at 
io.netty.util.ReferenceCountUtil.safeRelease(ReferenceCountUtil.java:113)
           at 
org.apache.bookkeeper.bookie.BufferedChannel.close(BufferedChannel.java:91)
           at org.apache.bookkeeper.util.IOUtils.close(IOUtils.java:48)
           at 
org.apache.bookkeeper.bookie.EntryLogManagerForSingleEntryLog.forceClose(EntryLogManagerForSingleEntryLog.java:221)
           at 
org.apache.bookkeeper.bookie.EntryLogger.shutdown(EntryLogger.java:1087)
           at 
org.apache.bookkeeper.bookie.InterleavedLedgerStorage.shutdown(InterleavedLedgerStorage.java:186)
           at 
org.apache.bookkeeper.bookie.SortedLedgerStorage.shutdown(SortedLedgerStorage.java:124)
           at org.apache.bookkeeper.bookie.Bookie.shutdown(Bookie.java:1099)
           at org.apache.bookkeeper.bookie.Bookie.shutdown(Bookie.java:1068)
           at 
org.apache.bookkeeper.proto.BookieServer.shutdown(BookieServer.java:201)
           at 
org.apache.bookkeeper.server.service.BookieService.doClose(BookieService.java:71)
           at 
org.apache.bookkeeper.common.component.AbstractLifecycleComponent.close(AbstractLifecycleComponent.java:109)
           at 
org.apache.bookkeeper.common.component.LifecycleComponentStack.lambda$close$4(LifecycleComponentStack.java:123)
           at 
com.google.common.collect.ImmutableList.forEach(ImmutableList.java:408)
           at 
org.apache.bookkeeper.common.component.LifecycleComponentStack.close(LifecycleComponentStack.java:123)
           at 
org.apache.bookkeeper.common.component.ComponentStarter$ComponentShutdownHook.run(ComponentStarter.java:46)
           at java.lang.Thread.run(Thread.java:748)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to