gaborgsomogyi commented on a change in pull request #26416:
[WIP][SPARK-29779][CORE] Compact old event log files and cleanup
URL: https://github.com/apache/spark/pull/26416#discussion_r345736102
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -194,6 +194,16 @@ package object config {
"configured to be at least 10 MiB.")
.createWithDefaultString("128m")
+ private[spark] val EVENT_LOG_ROLLING_MAX_FILES_TO_RETAIN =
+ ConfigBuilder("spark.eventLog.rolling.maxFilesToRetain")
+ .doc("The maximum number of event log files which will be retained as
non-compacted. " +
+ "By default, all event log files will be retained. Please set the
configuration " +
Review comment:
Yeah, I think `fileCompactor` can also decide it, it's fine. What I wanted
to reach is to cut unnecessary steps.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]