Browse Source

fix zk root (#7998)

Co-authored-by: caishunfeng <534328519@qq.com>
2.0.7-release
wind 3 years ago committed by GitHub
parent
commit
99cfd4864a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-server/src/main/resources/config/install_config.conf
  2. 1
      install.sh

4
dolphinscheduler-server/src/main/resources/config/install_config.conf

@ -102,8 +102,8 @@ registryPluginName="zookeeper"
# Registry Server address. # Registry Server address.
registryServers="192.168.xx.xx:2181,192.168.xx.xx:2181,192.168.xx.xx:2181" 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. # Registry Namespace
zkRoot="/dolphinscheduler" registryNamespace="dolphinscheduler"
# --------------------------------------------------------- # ---------------------------------------------------------
# Worker Task Server # Worker Task Server

1
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.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.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.servers=.*@registry.servers=${registryServers}@g" conf/registry.properties
sed -i ${txt} "s@^#*registry.namespace=.*@registry.namespace=${registryNamespace}@g" conf/registry.properties
# 2.create directory # 2.create directory
echo "2.create directory" echo "2.create directory"

Loading…
Cancel
Save