Skip to content

Commit f5028d5

Browse files
authored
[Improvement-18056] Remove unused code in worker module (#18118)
1 parent 4546a33 commit f5028d5

6 files changed

Lines changed: 0 additions & 90 deletions

File tree

dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/resources/docker/ldap-login/application.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ master:
184184
worker:
185185
# worker listener port
186186
listen-port: 1234
187-
# worker execute thread number to limit task instances in parallel
188-
exec-threads: 10
189187
# worker heartbeat interval
190188
max-heartbeat-interval: 10s
191189
# worker host weight to dispatch tasks, default value 100
@@ -202,12 +200,9 @@ worker:
202200
max-system-memory-usage-percentage-thresholds: 0.9
203201
# Worker max disk usage , when the worker's disk usage is smaller then this value, worker server can be dispatched tasks.
204202
max-disk-usage-percentage-thresholds: 0.9
205-
task-execute-threads-full-policy: REJECT
206203
tenant-config:
207204
# tenant corresponds to the user of the system, which is used by the worker to submit the job. If system does not have this user, it will be automatically created after the parameter worker.tenant.auto.create is true.
208205
auto-create-tenant-enabled: true
209-
# Scenes to be used for distributed users. For example, users created by FreeIpa are stored in LDAP. This parameter only applies to Linux, When this parameter is true, worker.tenant.auto.create has no effect and will not automatically create tenants.
210-
distributed-tenant: false
211206
# If set true, will use worker bootstrap user as the tenant to execute task when the tenant is `default`;
212207
default-tenant-enabled: true
213208

dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/resources/docker/oidc-login/application.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ master:
138138

139139
worker:
140140
listen-port: 1234
141-
exec-threads: 10
142141
max-heartbeat-interval: 10s
143142
host-weight: 100
144143
group: default
@@ -148,10 +147,8 @@ worker:
148147
max-jvm-cpu-usage-percentage-thresholds: 0.9
149148
max-system-memory-usage-percentage-thresholds: 0.9
150149
max-disk-usage-percentage-thresholds: 0.9
151-
task-execute-threads-full-policy: REJECT
152150
tenant-config:
153151
auto-create-tenant-enabled: true
154-
distributed-tenant: false
155152
default-tenant-enabled: true
156153

157154
alert:

dolphinscheduler-standalone-server/src/main/resources/application.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,6 @@ worker:
243243
tenant-config:
244244
# tenant corresponds to the user of the system, which is used by the worker to submit the job. If system does not have this user, it will be automatically created after the parameter worker.tenant.auto.create is true.
245245
auto-create-tenant-enabled: true
246-
# Scenes to be used for distributed users. For example, users created by FreeIpa are stored in LDAP. This parameter only applies to Linux, When this parameter is true, worker.tenant.auto.create has no effect and will not automatically create tenants.
247-
distributed-tenant: false
248246
# If set true, will use worker bootstrap user as the tenant to execute task when the tenant is `default`;
249247
default-tenant-enabled: true
250248

dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/config/TaskExecuteThreadsFullPolicy.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/metrics/TaskMetrics.java

Lines changed: 0 additions & 55 deletions
This file was deleted.

dolphinscheduler-worker/src/main/resources/application.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ worker:
5959
max-system-memory-usage-percentage-thresholds: 0.8
6060
# Worker max disk usage , when the worker's disk usage is smaller then this value, worker server can be dispatched tasks.
6161
max-disk-usage-percentage-thresholds: 0.8
62-
task-execute-threads-full-policy: REJECT
6362
physical-task-config:
6463
# The number of threads in the Physical task engine that used to execute tasks
6564
task-executor-thread-size: 100

0 commit comments

Comments
 (0)