Skip to content

Commit

Permalink
Flip default, correct docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Oct 7, 2024
1 parent 08a26bb commit 493ca93
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,15 +273,15 @@ package object config {

private[spark] val EVENT_LOG_INCLUDE_TASK_METRICS_ACCUMULATORS =
ConfigBuilder("spark.eventLog.includeTaskMetricsAccumulators")
.doc("Whether to include TaskMetrics' underlying accumulator values in the event log (as " +
"part of the Task/Stage/Job metrics' 'Accumulables' fields. This configuration defaults " +
"to false because the TaskMetrics values are already logged in the 'Task Metrics' " +
"fields (so the accumulator updates are redundant). This flag exists only as a " +
"backwards-compatibility escape hatch for applications that might rely on the old " +
"behavior. See SPARK-42204 for details.")
.doc("Whether to include TaskMetrics' underlying accumulator values in the event log " +
"(as part of the Task/Stage/Job metrics' 'Accumulables' fields. The TaskMetrics " +
"values are already logged in the 'Task Metrics' fields (so the accumulator updates " +
"are redundant). This flag defaults to true for behavioral backwards compatibility " +
"for applications that might rely on the redundant logging. " +
"See SPARK-42204 for details.")
.version("4.0.0")
.booleanConf
.createWithDefault(false)
.createWithDefault(true)

private[spark] val EVENT_LOG_OVERWRITE =
ConfigBuilder("spark.eventLog.overwrite")
Expand Down

0 comments on commit 493ca93

Please sign in to comment.