datastax / kaap

KAAP, Kubernetes Autoscaling for Apache Pulsar
https://datastax.github.io/kaap/
Apache License 2.0
46 stars 16 forks source link

stack trace when there is a problem with zookeeper nodes #151

Open pgier opened 1 year ago

pgier commented 1 year ago

This should probably just be an error or warning message instead of a stack trace.

│ 17:35:46 ERROR [com.dat.oss.kaa.con.AbstractController] (ReconcilerExecutor-pulsar-bk-controller-93) Error during reconciliation for resource bookkeepers.kaap.oss.datastax.com with name pulsar-bookkeeper: KeeperErrorCode = NoNode for /bookies: org.apache.zookeeper.KeeperException$NoNodeException: K │
│     at org.apache.zookeeper.KeeperException.create(KeeperException.java:118)                                                                                                                                                                                                                                │
│     at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)                                                                                                                                                                                                                                 │
│     at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:2028)                                                                                                                                                                                                                                          │
│     at org.apache.curator.framework.imps.GetDataBuilderImpl$4.call(GetDataBuilderImpl.java:327)                                                                                                                                                                                                             │
│     at org.apache.curator.framework.imps.GetDataBuilderImpl$4.call(GetDataBuilderImpl.java:316)                                                                                                                                                                                                             │
│     at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:93)                                                                                                                                                                                                                                        │
│     at org.apache.curator.framework.imps.GetDataBuilderImpl.pathInForeground(GetDataBuilderImpl.java:313)                                                                                                                                                                                                   │
│     at org.apache.curator.framework.imps.GetDataBuilderImpl.forPath(GetDataBuilderImpl.java:304)                                                                                                                                                                                                            │
│     at org.apache.curator.framework.imps.GetDataBuilderImpl$2.forPath(GetDataBuilderImpl.java:145)                                                                                                                                                                                                          │
│     at org.apache.curator.framework.imps.GetDataBuilderImpl$2.forPath(GetDataBuilderImpl.java:141)                                                                                                                                                                                                          │
│     at com.datastax.oss.kaap.controllers.bookkeeper.racks.client.ZkClientRackClient$ZkNodeOp.get(ZkClientRackClient.java:140)                                                                                                                                                                               │
│     at com.datastax.oss.kaap.controllers.bookkeeper.racks.BookKeeperRackMonitor.internalRun(BookKeeperRackMonitor.java:73)                                                                                                                                                                                  │
│     at com.datastax.oss.kaap.controllers.bookkeeper.racks.BookKeeperRackDaemon.triggerSync(BookKeeperRackDaemon.java:58)                                                                                                                                                                                    │
│     at com.datastax.oss.kaap.controllers.bookkeeper.BookKeeperController.compareLastAppliedSetSpec(BookKeeperController.java:249)                                                                                                                                                                           │
│     at com.datastax.oss.kaap.controllers.bookkeeper.BookKeeperController.compareLastAppliedSetSpec(BookKeeperController.java:52)                                                                                                                                                                            │
│     at com.datastax.oss.kaap.controllers.AbstractResourceSetsController.patchResources(AbstractResourceSetsController.java:125)                                                                                                                                                                             │
│     at com.datastax.oss.kaap.controllers.AbstractController.reconcile(AbstractController.java:139)                                                                                                                                                                                                          │
│     at com.datastax.oss.kaap.controllers.AbstractController.reconcile(AbstractController.java:62)                                                                                                                                                                                                           │
│     at com.datastax.oss.kaap.controllers.bookkeeper.BookKeeperController_ClientProxy.reconcile(Unknown Source)                                                                                                                                                                                              │
│     at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:145)                                                                                                                                                                                                                     │
│     at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:103)                                                                                                                                                                                                                     │
│     at io.javaoperatorsdk.operator.monitoring.micrometer.MicrometerMetrics.lambda$timeControllerExecution$0(MicrometerMetrics.java:86)                                                                                                                                                                      │
│     at io.micrometer.core.instrument.composite.CompositeTimer.record(CompositeTimer.java:69)                                                                                                                                                                                                                │
│     at io.javaoperatorsdk.operator.monitoring.micrometer.MicrometerMetrics.timeControllerExecution(MicrometerMetrics.java:84)                                                                                                                                                                               │
│     at io.javaoperatorsdk.operator.processing.Controller.reconcile(Controller.java:102)                                                                                                                                                                                                                     │
│     at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.reconcileExecution(ReconciliationDispatcher.java:139)                                                                                                                                                                          │
│     at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleReconcile(ReconciliationDispatcher.java:119)                                                                                                                                                                             │
│     at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleDispatch(ReconciliationDispatcher.java:89)                                                                                                                                                                               │
│     at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleExecution(ReconciliationDispatcher.java:62)                                                                                                                                                                              │
│     at io.javaoperatorsdk.operator.processing.event.EventProcessor$ReconcilerExecutor.run(EventProcessor.java:406)                                                                                                                                                                                          │
│     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)                                                                                                                                                                                                            │
│     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)                                                                                                                                                                                                            │
│     at java.base/java.lang.Thread.run(Thread.java:833)