eolivelli opened a new issue #3258: Error with BookKeeper 4.8.1 and Pulsar 2.2.0
URL: https://github.com/apache/pulsar/issues/3258
 
 
   #### Expected behavior
   
   I am able to run a Pulsar Broker (2.2.0) having BookKeeper 4.8.1 client on 
the classpath.
   
   #### Actual behavior
   
   I have this error using v3 protocol. with v2 the error is not logged but 
with a debugger I see it is mostly the same. 
   
   ```
   18-12-27-12-26-42    io.netty.util.IllegalReferenceCountException: refCnt: 
0, decrement: 1
   io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
        at 
io.netty.buffer.AbstractReferenceCountedByteBuf.toLiveRealCnt(AbstractReferenceCountedByteBuf.java:181)
        at 
io.netty.buffer.AbstractReferenceCountedByteBuf.release0(AbstractReferenceCountedByteBuf.java:133)
        at 
io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:124)
        at io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:88)
        at 
org.apache.bookkeeper.proto.checksum.DigestManager.computeDigestAndPackageForSending(DigestManager.java:131)
        at 
org.apache.bookkeeper.client.PendingAddOp.safeRun(PendingAddOp.java:243)
        at 
org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:844)
   ```
   
   #### Steps to reproduce
   
   I have created a unit test inside by non-public application.
   Maybe just by replacing the BookKeeper dependency core Pulsar tests should 
fail. But I did not try
   
   #### System configuration
   **Pulsar version**: 2.2.0
   
   

----------------------------------------------------------------
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