Browse Source

issue-6298-added-the-task-plugin (#6299)

2.0.7-release
RichardStark 3 years ago committed by GitHub
parent
commit
d184ebda1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-server/src/main/resources/config/install_config.conf
  2. 2
      install.sh

3
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"

2
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

Loading…
Cancel
Save