Mustaque
07/08/2025, 5:57 AM--- An unexpected error occurred in the server --- Message: org.apache.bookkeeper.mledger.ManagedLedgerException: Not enough non-faulty bookies available error code: -6 Stacktrace: org.apache.pulsar.broker.service.BrokerServiceException$PersistenceException: org.apache.bookkeeper.mledger.ManagedLedgerException: Not enough non-faulty bookies available error code: -6 at org.apache.pulsar.broker.service.BrokerService$2.openLedgerFailed(BrokerService.java:1899) at org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl.lambda$asyncOpen$10(ManagedLedgerFactoryImpl.java:466) at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(Unknown Source) at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(Unknown Source) at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source) at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source) at org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl$2.initializeFailed(ManagedLedgerFactoryImpl.java:457) at org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl.lambda$initializeBookKeeper$2(ManagedLedgerImpl.java:583) at org.apache.bookkeeper.common.util.SingleThreadExecutor.safeRunTask(SingleThreadExecutor.java:137) at org.apache.bookkeeper.common.util.SingleThreadExecutor.run(SingleThreadExecutor.java:107) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Unknown Source) Caused by: org.apache.bookkeeper.mledger.ManagedLedgerException: Not enough non-faulty bookies available error code: -6RunLLM
07/08/2025, 5:57 AMMustaque
07/08/2025, 5:59 AMRunLLM
07/08/2025, 5:59 AMbin/bookkeeper shell listbookies -rw -h # Lists read-write (healthy) bookies
bin/bookkeeper shell listbookies -ro -h # Lists read-only bookies
To test a bookie's health, run:
bin/bookkeeper shell bookiesanity
If bookies are in read-only mode or down, restart the affected bookie processes. If disks are full, free up space or add storage. For more, see BookKeeper CLI reference.
Would you like detailed recovery or troubleshooting steps?
Sources:
- https://bookkeeper.apache.org/docs/reference/cli 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.Penghui
07/10/2025, 2:42 AMbin/bookkeeper shell listbookies -rw on bookie pod.