From 4aca1333f9c428ebaa3b3f02980d6dcf549f32fe Mon Sep 17 00:00:00 2001 From: dailidong Date: Thu, 23 Jul 2020 23:32:00 +0800 Subject: [PATCH] =?UTF-8?q?this=20command=20just=20for=20getting=20a=20qui?= =?UTF-8?q?ck=20experience=EF=BC=8Cnot=20recommended=20for=20production.?= =?UTF-8?q?=20this=20operation=20will=20start=20a=20standalone=20zookeeper?= =?UTF-8?q?=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/dolphinscheduler-daemon.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/dolphinscheduler-daemon.sh b/script/dolphinscheduler-daemon.sh index b0437a30c2..31e252b6b0 100644 --- a/script/dolphinscheduler-daemon.sh +++ b/script/dolphinscheduler-daemon.sh @@ -72,6 +72,10 @@ elif [ "$command" = "alert-server" ]; then CLASS=org.apache.dolphinscheduler.alert.AlertServer elif [ "$command" = "logger-server" ]; then CLASS=org.apache.dolphinscheduler.server.log.LoggerServer +elif [ "$command" = "zookeeper-server" ]; then + #note: this command just for getting a quick experience,not recommended for production. this operation will start a standalone zookeeper server + LOG_FILE="-Dlogback.configurationFile=classpath:logback-zookeeper.xml" + CLASS=org.apache.dolphinscheduler.service.zk.ZKServer else echo "Error: No command named \`$command' was found." exit 1