Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/2391#discussion_r17816145
--- Diff:
core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala ---
@@ -38,6 +38,9 @@ private[history] class FsHistoryProvider(conf: SparkConf)
extends ApplicationHis
private val UPDATE_INTERVAL_MS =
conf.getInt("spark.history.fs.updateInterval",
conf.getInt("spark.history.updateInterval", 10)) * 1000
+ // Interval between each clean for event logs
+ private val CLEAN_INTERVAL_MS =
conf.getLong("spark.history.fs.cleanInterval", 86400) * 1000
--- End diff --
What is 86400? Could you use `Duration` instead so that it's clearer what
the default value means?
---
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]