feat(scheduler): 调整b12资源使用上限
This commit is contained in:
@@ -23,7 +23,7 @@ public class B12Cluster extends Cluster {
|
|||||||
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, 20),
|
||||||
new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B12, "default", 0.8)
|
new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B12, "default", 1.0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,12 +24,6 @@ public class B5Cluster extends Cluster {
|
|||||||
AvailableStrategy.and(
|
AvailableStrategy.and(
|
||||||
new QueueSizeLimit(client, Constants.COMPACTION_QUEUE_B5, 10),
|
new QueueSizeLimit(client, Constants.COMPACTION_QUEUE_B5, 10),
|
||||||
new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B5, "ten_iap.datalake", 0.9)
|
new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B5, "ten_iap.datalake", 0.9)
|
||||||
/*AvailableStrategy.whether(
|
|
||||||
new DatetimeLimit("* * 0-1 * * ?"),
|
|
||||||
new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B5, "ten_iap.datalake", 0.9),
|
|
||||||
new YarnQueueUsedLimit(yarnService, Constants.CLUSTER_B5, "ten_iap.datalake", 0.5)
|
|
||||||
|
|
||||||
)*/
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user