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