bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [bookkeeper] 02/05: Fix zkCli issue
Date Mon, 14 Aug 2017 06:54:35 GMT
This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to tag release-4.5.0
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit 6b2ab4b2ec758c1292b01987292a64cc82d618b1
Author: zhaijack <zhaijia03@gmail.com>
AuthorDate: Mon Aug 7 18:43:55 2017 +0800

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

diff --git a/docker/scripts/entrypoint.sh b/docker/scripts/entrypoint.sh
index 7610361..310970a 100755
--- a/docker/scripts/entrypoint.sh
+++ b/docker/scripts/entrypoint.sh
@@ -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/zkCli.sh -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
"commits@bookkeeper.apache.org" <commits@bookkeeper.apache.org>.

Mime
View raw message