Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[SPARK-52456][CORE] Lower the maximum size limit of event log files
  • Loading branch information
dongjoon-hyun committed Jun 11, 2025
commit c356b1a28899279b68d64a3292f829d12a044140
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ package object config {
" to be rolled over.")
.version("3.0.0")
.bytesConf(ByteUnit.BYTE)
.checkValue(_ >= ByteUnit.MiB.toBytes(10), "Max file size of event log should be " +
"configured to be at least 10 MiB.")
.checkValue(_ >= ByteUnit.MiB.toBytes(2), "Max file size of event log should be " +
"configured to be at least 2 MiB.")
.createWithDefaultString("128m")

private[spark] val EXECUTOR_ID =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ class RollingEventLogFilesWriterSuite extends EventLogFileWritersSuite {

val conf = getLoggingConf(testDirPath, None)
conf.set(EVENT_LOG_ENABLE_ROLLING, true)
conf.set(EVENT_LOG_ROLLING_MAX_FILE_SIZE.key, "9m")
conf.set(EVENT_LOG_ROLLING_MAX_FILE_SIZE.key, "1m")

val e = intercept[IllegalArgumentException] {
createWriter(appId, attemptId, testDirPath.toUri, conf,
Expand Down