aloyszhang opened a new issue #9090:
URL: https://github.com/apache/pulsar/issues/9090


   **Describe the bug**
   ManagedLedgerInterceptorImpl throws  
`BKException$BKIncorrectParameterException`
   ```
   14:15:11.015 [bookkeeper-ml-workers-OrderedExecutor-0-0] ERROR 
org.apache.pulsar.broker.intercept.ManagedLedgerInterceptorImpl - 
[t-kop/ns-kop/persistent/test-offset-000-partition-0] Read last entry error.
   org.apache.bookkeeper.client.BKException$BKIncorrectParameterException: 
Incorrect parameter input
       at 
org.apache.bookkeeper.client.LedgerHandle.readAsync(LedgerHandle.java:750) 
~[org.apache.bookkeeper-bookkeeper-server-4.11.1.jar:4.11.1]
       at org.apache.bookkeeper.client.api.ReadHandle.read(ReadHandle.java:58) 
~[org.apache.bookkeeper-bookkeeper-server-4.11.1.jar:4.11.1]
       at 
org.apache.pulsar.broker.intercept.ManagedLedgerInterceptorImpl.onManagedLedgerLastLedgerInitialize(ManagedLedgerInterceptorImpl.java:90)
 ~[pulsar-broker.jar:2.8.0-SNAPSHOT]
       at 
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl$1.lambda$null$0(ManagedLedgerImpl.java:341)
 ~[org.apache.pulsar-managed-ledger-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
       at org.apache.bookkeeper.mledger.util.SafeRun$1.safeRun(SafeRun.java:32) 
[org.apache.pulsar-managed-ledger-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
       at 
org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36) 
[org.apache.bookkeeper-bookkeeper-common-4.11.1.jar:4.11.1]
       at 
org.apache.bookkeeper.common.util.OrderedExecutor$TimedRunnable.run(OrderedExecutor.java:203)
 [org.apache.bookkeeper-bookkeeper-common-4.11.1.jar:4.11.1]
       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_201]
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_201]
       at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [io.netty-netty-common-4.1.48.Final.jar:4.1.48.Final]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. enable broker entry metadat and kop
   2. start broker
   3. send message to broker
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to