saurabhd336 commented on code in PR #3739:
URL: https://github.com/apache/celeborn/pull/3739#discussion_r3593380035
##########
master/src/main/scala/org/apache/celeborn/service/deploy/master/quota/QuotaManager.scala:
##########
@@ -141,6 +153,28 @@ class QuotaManager(
checkQuotaSpace(CLUSTER_EXHAUSTED, consumption, getClusterStorageQuota)
}
+ // Calling the cluster overloaded (leads to gc triggers on app side to
relieve storage)
+ private def checkClusterOverloaded(consumption: ResourceConsumption):
Boolean = {
+ val overloadQuota = getClusterStorageQuota
+ val factor = getClusterOverloadLimitFactor
+ def scale(q: Long): Long = {
+ if (q <= 0L || q == Long.MaxValue) q
+ else math.max(1L, math.ceil(factor * q.toDouble).toLong)
+ }
Review Comment:
File count limits are never set to a value small enough for this to happen.
I'll ignore this comment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]