You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/08/11 15:43:02 UTC

[GitHub] [accumulo] EdColeman commented on a diff in pull request #2873: Add logging to MiniAccumuloConfigImpl.verifyUp when ZK not connected

EdColeman commented on code in PR #2873:
URL: https://github.com/apache/accumulo/pull/2873#discussion_r943638704


##########
minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java:
##########
@@ -653,6 +653,11 @@ private void verifyUp() throws InterruptedException, IOException {
 
       String secret = getSiteConfiguration().get(Property.INSTANCE_SECRET);
 
+      while (!(zk.getState() == States.CONNECTED)) {
+        log.info("Waiting for ZK client to connect, state: {}", zk.getState());

Review Comment:
   ```suggestion
         log.info("Waiting for ZK client to connect, state: {} - will retry", zk.getState());
   ```



-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org