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:
[email protected]


With regards,
Apache Git Services

Reply via email to