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

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new d184ebd  issue-6298-added-the-task-plugin (#6299)
d184ebd is described below

commit d184ebda1e7fff1250858386debb7a2a0435bb78
Author: RichardStark <[email protected]>
AuthorDate: Wed Sep 29 11:36:51 2021 +0800

    issue-6298-added-the-task-plugin (#6299)
---
 dolphinscheduler-server/src/main/resources/config/install_config.conf | 3 +++
 install.sh                                                            | 2 ++
 2 files changed, 5 insertions(+)

diff --git 
a/dolphinscheduler-server/src/main/resources/config/install_config.conf 
b/dolphinscheduler-server/src/main/resources/config/install_config.conf
index d1e675f..9706897 100755
--- a/dolphinscheduler-server/src/main/resources/config/install_config.conf
+++ b/dolphinscheduler-server/src/main/resources/config/install_config.conf
@@ -111,6 +111,9 @@ sudoEnable="true"
 # worker tenant auto create
 workerTenantAutoCreate="false"
 
+# worker task plugin dir
+taskPluginDir="/data1_1T/dolphinscheduler/lib/plugin/task"
+
 # api server port
 apiServerPort="12345"
 
diff --git a/install.sh b/install.sh
index 5b0ed74..25e5d91 100755
--- a/install.sh
+++ b/install.sh
@@ -61,6 +61,8 @@ sed -i ${txt} "s@^sudo.enable=.*@sudo.enable=${sudoEnable}@g" 
conf/common.proper
 # the following configurations may be commented, so ddd #\? to ensure 
successful sed
 sed -i ${txt} 
"s@^#\?worker.tenant.auto.create=.*@worker.tenant.auto.create=${workerTenantAutoCreate}@g"
 conf/worker.properties
 sed -i ${txt} "s@^#\?alert.listen.host=.*@alert.listen.host=${alertServer}@g" 
conf/worker.properties
+sed -i ${txt} "s@^#\?task.plugin.dir=.*@task.plugin.dir=${taskPluginDir}@g" 
conf/worker.properties
+
 sed -i ${txt} "s@^#\?alert.plugin.dir=.*@alert.plugin.dir=${alertPluginDir}@g" 
conf/alert.properties
 sed -i ${txt} "s@^#\?server.port=.*@server.port=${apiServerPort}@g" 
conf/application-api.properties
 

Reply via email to