Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/16527#discussion_r97198965
--- Diff:
core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala ---
@@ -431,6 +432,13 @@ class JobProgressListener(conf: SparkConf) extends
SparkListener with Logging {
}
/**
+ * Remove at least (maxRetained / 10) items to reduce friction.
+ */
+ def removedCount(dataSize: Int, retainedSize: Int): Int = {
--- End diff --
`private`? and since it isn't reporting a number that were removed, but a
number to remove, maybe `calculateNumberToRemove`? or something?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]