From d184ebda1e7fff1250858386debb7a2a0435bb78 Mon Sep 17 00:00:00 2001 From: RichardStark <49977764+RichardStark@users.noreply.github.com> Date: Wed, 29 Sep 2021 11:36:51 +0800 Subject: [PATCH] issue-6298-added-the-task-plugin (#6299) --- .../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 d1e675f4f1..9706897aa6 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 5b0ed74e6c..25e5d91e4d 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