Skip to content

Commit 65b4ab2

Browse files
philipphoffmannAndrew Or
authored andcommitted
[SPARK-15223][DOCS] fix wrongly named config reference
## What changes were proposed in this pull request? The configuration setting `spark.executor.logs.rolling.size.maxBytes` was changed to `spark.executor.logs.rolling.maxSize` in 1.4 or so. This commit fixes a remaining reference to the old name in the documentation. Also the description for `spark.executor.logs.rolling.maxSize` was edited to clearly state that the unit for the size is bytes. ## How was this patch tested? no tests Author: Philipp Hoffmann <[email protected]> Closes #13001 from philipphoffmann/patch-3.
1 parent 2992a21 commit 65b4ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Apart from these, the following properties are also available, and may be useful
296296
<td><code>spark.executor.logs.rolling.maxSize</code></td>
297297
<td>(none)</td>
298298
<td>
299-
Set the max size of the file by which the executor logs will be rolled over.
299+
Set the max size of the file in bytes by which the executor logs will be rolled over.
300300
Rolling is disabled by default. See <code>spark.executor.logs.rolling.maxRetainedFiles</code>
301301
for automatic cleaning of old logs.
302302
</td>
@@ -308,7 +308,7 @@ Apart from these, the following properties are also available, and may be useful
308308
Set the strategy of rolling of executor logs. By default it is disabled. It can
309309
be set to "time" (time-based rolling) or "size" (size-based rolling). For "time",
310310
use <code>spark.executor.logs.rolling.time.interval</code> to set the rolling interval.
311-
For "size", use <code>spark.executor.logs.rolling.size.maxBytes</code> to set
311+
For "size", use <code>spark.executor.logs.rolling.maxSize</code> to set
312312
the maximum file size for rolling.
313313
</td>
314314
</tr>

0 commit comments

Comments
 (0)