maurya-m commented on issue #2080: Geo-replication setup on K8s cluster
URL: https://github.com/apache/bookkeeper/issues/2080#issuecomment-488996082
 
 
   update: the recovery bookie pods are failing now on this , any ideas?
   
   K8s Deployment spec:
   -----------------------------
   apiVersion: apps/v1beta1
   kind: Deployment
   metadata:
     name: bookie-autorecovery
   spec:
     replicas: 2
     template:
       metadata:
         labels:
           app: bookkeeper
           component: bookkeeper-replication
       spec:
         containers:
           - name: replication-worker
             image: apache/bookkeeper:latest
             command: [ "/bin/bash", "/opt/bookkeeper/scripts/entrypoint.sh" ]
             args: ["/opt/bookkeeper/bin/bookkeeper", "autorecovery"]
             envFrom:
               - configMapRef:
                   name: bookie-config
   
   
   2019-05-03 07:57:22,107 - ERROR - [main:BookieWatcherImpl@70] - **Failed to 
get bookie list** : 
   org.apache.bookkeeper.client.BKException$ZKException: Error while using 
ZooKeeper
        at 
org.apache.bookkeeper.discover.ZKRegistrationClient.lambda$getChildren$0(ZKRegistrationClient.java:212)
        at 
org.apache.bookkeeper.zookeeper.ZooKeeperClient$25$1.processResult(ZooKeeperClient.java:1174)
        at 
org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:604)
        at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:508)
   2019-05-03 07:57:22,109 - ERROR - [main:AutoRecoveryMain@327] - Failed to 
build AutoRecovery Server
   java.io.IOException: Failed to create bookkeeper client
        at 
org.apache.bookkeeper.replication.Auditor.createBookKeeperClient(Auditor.java:176)
        at 
org.apache.bookkeeper.replication.Auditor.createBookKeeperClient(Auditor.java:166)
        at 
org.apache.bookkeeper.replication.AutoRecoveryMain.<init>(AutoRecoveryMain.java:94)
        at 
org.apache.bookkeeper.server.service.AutoRecoveryService.<init>(AutoRecoveryService.java:42)
        at 
org.apache.bookkeeper.replication.AutoRecoveryMain.buildAutoRecoveryServer(AutoRecoveryMain.java:357)
        at 
org.apache.bookkeeper.replication.AutoRecoveryMain.doMain(AutoRecoveryMain.java:325)
        at 
org.apache.bookkeeper.replication.AutoRecoveryMain.main(AutoRecoveryMain.java:307)
   Caused by: org.apache.bookkeeper.client.BKException$ZKException: Error while 
using ZooKeeper
        at 
org.apache.bookkeeper.discover.ZKRegistrationClient.lambda$getChildren$0(ZKRegistrationClient.java:212)
        at 
org.apache.bookkeeper.zookeeper.ZooKeeperClient$25$1.processResult(ZooKeeperClient.java:1174)
        at 
org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:604)
        at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:508)

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


With regards,
Apache Git Services

Reply via email to