Skip to content

Commit 35506dc

Browse files
Ngone51cloud-fan
authored andcommitted
[SPARK-25855][CORE][FOLLOW-UP] Format config name to follow the other boolean conf naming convention
### What changes were proposed in this pull request? Change config name from `spark.eventLog.allowErasureCoding` to `spark.eventLog.allowErasureCoding.enabled`. ### Why are the changes needed? To follow the other boolean conf naming convention. ### Does this PR introduce any user-facing change? No, it's newly added in Spark 3.0. ### How was this patch tested? Tested manually and pass Jenkins. Closes apache#26998 from Ngone51/SPARK-25855-FOLLOWUP. Authored-by: yi.wu <yi.wu@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
1 parent ef6f9e9 commit 35506dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/internal/config/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ package object config {
131131
.createWithDefault(false)
132132

133133
private[spark] val EVENT_LOG_ALLOW_EC =
134-
ConfigBuilder("spark.eventLog.allowErasureCoding")
134+
ConfigBuilder("spark.eventLog.erasureCoding.enabled")
135135
.booleanConf
136136
.createWithDefault(false)
137137

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ Apart from these, the following properties are also available, and may be useful
966966
</td>
967967
</tr>
968968
<tr>
969-
<td><code>spark.eventLog.allowErasureCoding</code></td>
969+
<td><code>spark.eventLog.erasureCoding.enabled</code></td>
970970
<td>false</td>
971971
<td>
972972
Whether to allow event logs to use erasure coding, or turn erasure coding off, regardless of

0 commit comments

Comments
 (0)