Ngone51 commented on a change in pull request #25670: [SPARK-28869][CORE] Roll
over event log files
URL: https://github.com/apache/spark/pull/25670#discussion_r332596114
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -179,6 +179,18 @@ package object config {
private[spark] val EVENT_LOG_CALLSITE_LONG_FORM =
ConfigBuilder("spark.eventLog.longForm.enabled").booleanConf.createWithDefault(false)
+ private[spark] val EVENT_LOG_ENABLE_ROLLING =
+ ConfigBuilder("spark.eventLog.logRolling.enabled")
+ .doc("Whether rolling over event log files is enabled.")
+ .booleanConf
+ .createWithDefault(false)
+
+ private[spark] val EVENT_LOG_ROLLED_EVENT_LOG_MAX_FILE_SIZE =
+ ConfigBuilder("spark.eventLog.logRolling.maxFileSize")
+ .doc("The max size of event log file to be rolled over.")
+ .bytesConf(ByteUnit.BYTE)
+ .createWithDefaultString("128m")
Review comment:
> it only misses one sentence (If set to true, it cuts down each event log
file to be configured size.) in above conf. Are you referring other one?
Yeah, thanks for the change.
----------------------------------------------------------------
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]