This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new c6e2f75  Fix zkCli issue
c6e2f75 is described below

commit c6e2f75dce44082e1a3b9ba06d1e37ed3ff5998f
Author: zhaijack <>
AuthorDate: Mon Aug 7 18:43:55 2017 +0800

    Fix zkCli issue
    Descriptions of the changes in this PR:
    /opt/zk/bin/ was leaked to replace by 
/opt/bookkeeper/bin/bookkeeper org.apache.zookeeper.ZooKeeperMain and cause:
    /opt/bookkeeper/ line 61: /opt/zk/bin/ No such file 
or directory
    Author: zhaijack <>
    Reviewers: Sijie Guo <None>
    This closes #404 from zhaijack/docker_fix
 docker/scripts/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/scripts/ b/docker/scripts/
index 7610361..310970a 100755
--- a/docker/scripts/
+++ b/docker/scripts/
@@ -59,7 +59,7 @@ echo "wait for zookeeper"
 until /opt/bookkeeper/bin/bookkeeper org.apache.zookeeper.ZooKeeperMain 
-server ${BK_zkServers} ls /; do sleep 5; done
 echo "create the zk root dir for bookkeeper"
-/opt/zk/bin/ -server ${BK_zkServers} create ${BK_CLUSTER_ROOT_PATH}
+/opt/bookkeeper/bin/bookkeeper org.apache.zookeeper.ZooKeeperMain -server 
${BK_zkServers} create ${BK_CLUSTER_ROOT_PATH}
 echo "format zk metadata"
 echo "please ignore the failure, if it has already been formatted, "

To stop receiving notification emails like this one, please contact
['"" <>'].

Reply via email to