ByrsH commented on issue #15464:
URL: https://github.com/apache/pulsar/issues/15464#issuecomment-1138420979

   I had a similar problem,broker log :
   ```
   [BookKeeperClientWorker-OrderedExecutor-1-0] ERROR 
org.apache.bookkeeper.client.PendingReadOp - Read of ledger entry failed: 
L173395 E0-E0, Sent to 
[pulsar-iot-bookie-1.pulsar-iot-bookie.pulsar-prod.svc.cluster.local:3181, 
pulsar-iot-bookie-0.pulsar-iot-bookie.pulsar-prod.svc.cluster.local:3181], 
Heard from [] : bitset = {}, Error = 'No such ledger exists on Bookies'. First 
unread entry is (-1, rc = null)
   ```
   
   **Describe** :
   there are a pulsar cluster in k8s,pulsar version 2.8.2。The purpose is 
replace new disk.
   
   **operating steps**:
   1、run bin/bookkeeper shell bookieformat -deleteCookie -f
   2、restart pod 
   3、wait bookie auto sync data to new disk
   
   business service run normal, but when restart business service,  Throws the 
following exception:
   ```
   Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
instantiate [so.dian.clover.pulsar.PulsarProducer]: Factory method 
'createPulsarProducer' threw exception; nested exception is 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.PulsarClientException: 
org.apache.pulsar.broker.service.schema.exceptions.SchemaException: No such 
ledger exists on Bookies -  ledger=173395 - operation=Failed to read entry - 
entry=0 caused by 
org.apache.pulsar.broker.service.schema.exceptions.SchemaException: No such 
ledger exists on Bookies -  ledger=173395 - operation=Failed to read entry - 
entry=0
           at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
           at 
org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
           ... 41 common frames omitted
   ```
   


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