You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by gi...@git.apache.org on 2017/05/16 07:58:27 UTC

[GitHub] style95 commented on a change in pull request #1998: Fix health check logic for zookeeper and redis to make it work on CentOS

style95 commented on a change in pull request #1998: Fix health check logic for zookeeper and redis to make it work on CentOS
URL: https://github.com/apache/incubator-openwhisk/pull/1998#discussion_r116676674
 
 

 ##########
 File path: ansible/roles/kafka/tasks/deploy.yml
 ##########
 @@ -15,7 +15,7 @@
       - "{{ zookeeper.port }}:2181"
 
 - name: wait until the Zookeeper in this host is up and running
-  action: shell echo ruok | nc -w 3 -i 1 {{ inventory_hostname }} {{ zookeeper.port }}
+  action: shell (echo ruok; sleep 1) | nc {{ inventory_hostname }} {{ zookeeper.port }}
 
 Review comment:
   @rabbah I updated this line: https://github.com/openwhisk/openwhisk/blob/master/tools/health/isAlive#L101 as well
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services