You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2020/05/12 07:33:45 UTC

[kylin] 02/03: KYLIN-4372 Fix bug of delete file too later cause ZK started by HBase crash

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

nic pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 8cf0a736a03d9868819d13c12d4bead0f3016f74
Author: weibin0516 <co...@126.com>
AuthorDate: Mon Feb 10 23:36:05 2020 +0800

    KYLIN-4372 Fix bug of delete file too later cause ZK started by HBase crash
---
 docker/entrypoint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 28fb3b5..2fe1d7f 100644
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -40,11 +40,11 @@ $HADOOP_HOME/sbin/yarn-daemon.sh start nodemanager
 $HADOOP_HOME/sbin/mr-jobhistory-daemon.sh start historyserver
 
 # start hbase
+rm -rf /data/zookeeper/*
 $HBASE_HOME/bin/start-hbase.sh
 
 # start kafka
 rm -rf /tmp/kafka-logs
-rm -rf /data/zookeeper/*
 nohup $KAFKA_HOME/bin/kafka-server-start.sh $KAFKA_HOME/config/server.properties &
 
 # prepare kafka topic and data