stream-source opened a new issue, #21602:
URL: https://github.com/apache/pulsar/issues/21602

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   Operating system: macOS
   Mirror label:3.0.0
   
   ### Minimal reproduce step
   
   Caused by: javax.ws.rs.InternalServerErrorException: HTTP 500 {"reason":"\n 
--- An unexpected error occurred in the server ---\n\nMessage: 
org.apache.bookkeeper.mledger.ManagedLedgerException: Error while recovering 
ledger error code: 
-10\n\nStacktrace:\n\norg.apache.pulsar.broker.service.BrokerServiceException$PersistenceException:
 org.apache.bookkeeper.mledger.ManagedLedgerException: Error while recovering 
ledger error code: -10\n\tat 
org.apache.pulsar.broker.service.BrokerService$2.openLedgerFailed(BrokerService.java:1747)\n\tat
 
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl.lambda$asyncOpen$8(ManagedLedgerFactoryImpl.java:421)\n\tat
 
java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990)\n\tat
 
java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974)\n\tat
 
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)\n\tat
 java.base/java.util.concurrent.Co
 mpletableFuture.completeExceptionally(CompletableFuture.java:2162)\n\tat 
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl$2.initializeFailed(ManagedLedgerFactoryImpl.java:416)\n\tat
 
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl$1.lambda$operationComplete$2(ManagedLedgerImpl.java:438)\n\tat
 
org.apache.bookkeeper.common.util.SingleThreadExecutor.safeRunTask(SingleThreadExecutor.java:137)\n\tat
 
org.apache.bookkeeper.common.util.SingleThreadExecutor.run(SingleThreadExecutor.java:113)\n\tat
 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)\nCaused by: 
org.apache.bookkeeper.mledger.ManagedLedgerException: Error while recovering 
ledger error code: -10\n"}
   2023-11-21 11:50:28             at 
org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:960)
 ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
   2023-11-21 11:50:28             at 
org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:82)
 ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
   
   ### What did you expect to see?
   
   Normal startup
   
   ### What did you see instead?
   
   Caused by: javax.ws.rs.InternalServerErrorException: HTTP 500 {"reason":"\n 
--- An unexpected error occurred in the server ---\n\nMessage: 
org.apache.bookkeeper.mledger.ManagedLedgerException: Error while recovering 
ledger error code: 
-10\n\nStacktrace:\n\norg.apache.pulsar.broker.service.BrokerServiceException$PersistenceException:
 org.apache.bookkeeper.mledger.ManagedLedgerException: Error while recovering 
ledger error code: -10\n\tat 
org.apache.pulsar.broker.service.BrokerService$2.openLedgerFailed(BrokerService.java:1747)\n\tat
 
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl.lambda$asyncOpen$8(ManagedLedgerFactoryImpl.java:421)\n\tat
 
java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990)\n\tat
 
java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974)\n\tat
 
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)\n\tat
 java.base/java.util.concurrent.Co
 mpletableFuture.completeExceptionally(CompletableFuture.java:2162)\n\tat 
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl$2.initializeFailed(ManagedLedgerFactoryImpl.java:416)\n\tat
 
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl$1.lambda$operationComplete$2(ManagedLedgerImpl.java:438)\n\tat
 
org.apache.bookkeeper.common.util.SingleThreadExecutor.safeRunTask(SingleThreadExecutor.java:137)\n\tat
 
org.apache.bookkeeper.common.util.SingleThreadExecutor.run(SingleThreadExecutor.java:113)\n\tat
 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Thread.java:833)\nCaused by: 
org.apache.bookkeeper.mledger.ManagedLedgerException: Error while recovering 
ledger error code: -10\n"}
   2023-11-21 11:50:28             at 
org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:960)
 ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
   2023-11-21 11:50:28             at 
org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:82)
 ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to