You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/01/13 09:42:27 UTC

[dolphinscheduler] branch 2.0.3-prepare updated: fix zk root (#7998)

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

caishunfeng pushed a commit to branch 2.0.3-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.3-prepare by this push:
     new 99cfd48  fix zk root (#7998)
99cfd48 is described below

commit 99cfd4864a82a27a214685a77e2e885fdebbc35f
Author: wind <ca...@users.noreply.github.com>
AuthorDate: Thu Jan 13 17:42:20 2022 +0800

    fix zk root (#7998)
    
    Co-authored-by: caishunfeng <53...@qq.com>
---
 dolphinscheduler-server/src/main/resources/config/install_config.conf | 4 ++--
 install.sh                                                            | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dolphinscheduler-server/src/main/resources/config/install_config.conf b/dolphinscheduler-server/src/main/resources/config/install_config.conf
index 3f2553e..91ddb1f 100755
--- a/dolphinscheduler-server/src/main/resources/config/install_config.conf
+++ b/dolphinscheduler-server/src/main/resources/config/install_config.conf
@@ -102,8 +102,8 @@ registryPluginName="zookeeper"
 # Registry Server address.
 registryServers="192.168.xx.xx:2181,192.168.xx.xx:2181,192.168.xx.xx:2181"
 
-# The root of zookeeper, for now DolphinScheduler default registry server is zookeeper.
-zkRoot="/dolphinscheduler"
+# Registry Namespace
+registryNamespace="dolphinscheduler"
 
 # ---------------------------------------------------------
 # Worker Task Server
diff --git a/install.sh b/install.sh
index 57441e6..53c5024 100755
--- a/install.sh
+++ b/install.sh
@@ -73,6 +73,7 @@ sed -i ${txt} "s@^#*server.port=.*@server.port=${apiServerPort}@g" conf/applicat
 sed -i ${txt} "s@^#*registry.plugin.dir=.*@registry.plugin.dir=${installPath}/${registryPluginDir}@g" conf/registry.properties
 sed -i ${txt} "s@^#*registry.plugin.name=.*@registry.plugin.name=${registryPluginName}@g" conf/registry.properties
 sed -i ${txt} "s@^#*registry.servers=.*@registry.servers=${registryServers}@g" conf/registry.properties
+sed -i ${txt} "s@^#*registry.namespace=.*@registry.namespace=${registryNamespace}@g" conf/registry.properties
 
 # 2.create directory
 echo "2.create directory"