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

lidongdai pushed a commit to branch dev-1.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev-1.3.0 by this push:
     new 63ce143  set worker group  (#2743)
63ce143 is described below

commit 63ce143be5fd76ea08f9fcf73e7720cb1be99297
Author: dailidong <[email protected]>
AuthorDate: Mon May 18 17:06:26 2020 +0800

    set worker group  (#2743)
    
    * simple config
    
    * fix worker group config no effect
---
 .../src/main/resources/config/install_config.conf                  | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/dolphinscheduler-server/src/main/resources/config/install_config.conf 
b/dolphinscheduler-server/src/main/resources/config/install_config.conf
index 206ea4d..c8aa147 100644
--- a/dolphinscheduler-server/src/main/resources/config/install_config.conf
+++ b/dolphinscheduler-server/src/main/resources/config/install_config.conf
@@ -91,8 +91,8 @@ s3SecretKey="xxxxxxxxxx"
 # if not use hadoop resourcemanager, please keep default value; if 
resourcemanager HA enable, please type the HA ips ; if resourcemanager is 
single, make this value empty
 yarnHaIps="192.168.xx.xx,192.168.xx.xx"
 
-# if resourcemanager HA enable or not use resourcemanager, please keep the 
default value; If resourcemanager is single, you only need to replace ark1 to 
actual resourcemanager hostname.
-singleYarnIp="ark1"
+# if resourcemanager HA enable or not use resourcemanager, please skip this 
value setting; If resourcemanager is single, you only need to replace yarnIp1 
to actual resourcemanager hostname.
+singleYarnIp="yarnIp1"
 
 # resource store on HDFS/S3 path, resource file will store to this hadoop hdfs 
path, self configuration, please make sure the directory exists on hdfs and 
have read write permissions。/dolphinscheduler is recommended
 resourceUploadPath="/dolphinscheduler"
@@ -130,8 +130,7 @@ masters="ds1,ds2"
 
 # run worker machine
 # note: need to write the worker group name of each worker, the default value 
is "default"
-
-declare -A workersGroup=(["ds1"]="default" ["ds2"]="default" ["ds3"]="default" 
["ds4"]="default" ["ds5"]="default")
+workers="ds1:default,ds2:default,ds3:default,ds4:default,ds5:default"
 
 # run alert machine
 # note: list of machine hostnames for deploying alert server

Reply via email to