feat(scheduler): 微调b12集群的资源限制

This commit is contained in:
v-zhangjc9
2024-10-14 15:23:15 +08:00
parent 58140fa0e8
commit 7249419624
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ deploy:
service-launcher-a4: service-launcher-a4:
replicas: 6 replicas: 6
service-launcher-b12: service-launcher-b12:
replicas: 10 replicas: 15
service-info-query: service-info-query:
replicas: 10 replicas: 10
service-yarn-query: service-yarn-query:

View File

@@ -22,7 +22,7 @@ public class B12Cluster extends Cluster {
Constants.CLUSTER_B12, Constants.CLUSTER_B12,
Constants.COMPACTION_QUEUE_B12, Constants.COMPACTION_QUEUE_B12,
AvailableStrategy.and( AvailableStrategy.and(
new QueueSizeLimit(client, Constants.COMPACTION_QUEUE_B12, 20), new QueueSizeLimit(client, Constants.COMPACTION_QUEUE_B12, 50),
new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B12, "default", 1.0) new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B12, "default", 1.0)
) )
); );