We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff349b commit a2f631dCopy full SHA for a2f631d
core/src/main/scala/org/apache/spark/internal/config/package.scala
@@ -190,8 +190,8 @@ package object config {
190
ConfigBuilder("spark.eventLog.rolling.maxFileSize")
191
.doc("The max size of event log file to be rolled over.")
192
.bytesConf(ByteUnit.BYTE)
193
- .checkValue(_ >= (1024 * 1024 * 10), "Max file size of event log should be configured to" +
194
- " be at least 10 MiB.")
+ .checkValue(_ >= ByteUnit.MiB.toBytes(10), "Max file size of event log should be " +
+ "configured to be at least 10 MiB.")
195
.createWithDefaultString("128m")
196
197
private[spark] val EXECUTOR_ID =
0 commit comments