Jason918 commented on issue #12774:
URL: https://github.com/apache/pulsar/issues/12774#issuecomment-1029927197


   Here is the related exceptions
   ```
   2022-02-04T17:01:04,284+0800 [main-EventThread] ERROR 
PulsarLedgerIdGenerator - Error generating ledger id: 
org.apache.pulsar.metadata.api.MetadataStoreException: 
org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException: 
org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = 
BadVersion for /ledgers/idgen
   2022-02-04T17:01:04,285+0800 [BookKeeperClientWorker-OrderedExecutor-1-0] 
ERROR ManagedLedgerFactoryImpl - 
[pulsar/ns-2a526cfb-b9f1-451f-868f-6324b5ff8d1e/persistent/testDoesNotReplicateSystemTopic]
 Failed to initialize managed ledger: Error while using MetaStore
   2022-02-04T17:01:04,285+0800 [BookKeeperClientWorker-OrderedExecutor-1-0] 
INFO  ManagedLedgerImpl - 
[pulsar/ns-2a526cfb-b9f1-451f-868f-6324b5ff8d1e/persistent/testDoesNotReplicateSystemTopic]
 Closing managed ledger
   2022-02-04T17:01:04,285+0800 [BookKeeperClientWorker-OrderedExecutor-1-0] 
DEBUG EntryCacheManager - Removed cache for 
pulsar/ns-2a526cfb-b9f1-451f-868f-6324b5ff8d1e/persistent/testDoesNotReplicateSystemTopic
 - Size: 0.0 -- Current Size: 0.0
   2022-02-04T17:01:04,285+0800 [BookKeeperClientWorker-OrderedExecutor-1-0] 
WARN  BrokerService - Failed to create topic 
persistent://pulsar/ns-2a526cfb-b9f1-451f-868f-6324b5ff8d1e/testDoesNotReplicateSystemTopic
   org.apache.bookkeeper.mledger.ManagedLedgerException: Error while using 
MetaStore
   2022-02-04T17:01:04,285+0800 [pulsar-web-288-14] ERROR PersistentTopicsBase 
- [null] Failed to create non-partitioned topic 
persistent://pulsar/ns-2a526cfb-b9f1-451f-868f-6324b5ff8d1e/testDoesNotReplicateSystemTopic
   java.util.concurrent.CompletionException: 
org.apache.pulsar.broker.service.BrokerServiceException$PersistenceException: 
org.apache.bookkeeper.mledger.ManagedLedgerException: Error while using 
MetaStore
           at 
java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
 ~[?:?]
           at 
java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
 ~[?:?]
           at 
java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632)
 ~[?:?]
           at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) 
~[?:?]
           at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
 ~[?:?]
           at 
org.apache.pulsar.broker.service.BrokerService$2.openLedgerFailed(BrokerService.java:1433)
 ~[classes/:?]
           at 
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl.lambda$asyncOpen$8(ManagedLedgerFactoryImpl.java:426)
 ~[classes/:?]
           at 
java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)
 ~[?:?]
           at 
java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:970)
 ~[?:?]
           at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) 
~[?:?]
           at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
 ~[?:?]
           at 
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl$2.initializeFailed(ManagedLedgerFactoryImpl.java:421)
 ~[classes/:?]
           at 
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl.lambda$initializeBookKeeper$1(ManagedLedgerImpl.java:474)
 ~[classes/:?]
           at 
org.apache.bookkeeper.mledger.util.SafeRun$1.safeRun(SafeRun.java:32) 
~[classes/:?]
           at 
org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36) 
~[bookkeeper-common-4.14.4.jar:4.14.4]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [netty-common-4.1.73.Final.jar:4.1.73.Final]
           at java.lang.Thread.run(Thread.java:829) [?:?]
   Caused by: 
org.apache.pulsar.broker.service.BrokerServiceException$PersistenceException: 
org.apache.bookkeeper.mledger.ManagedLedgerException: Error while using 
MetaStore
           ... 14 more
   Caused by: org.apache.bookkeeper.mledger.ManagedLedgerException: Error while 
using MetaStore
   ```


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