Skip to content

Conversation

@JoshRosen
Copy link
Contributor

@JoshRosen JoshRosen commented Oct 7, 2024

What changes were proposed in this pull request?

This PR corrects an unintentional default behavior change from #39763

That PR introduced a new configuration, spark.eventLog.includeTaskMetricsAccumulators, to provide an ability for users to disable the redundant logging of task metrics information via the Accumulables field in the Spark event log task end logs.

I made a mistake in updating that PR description and code from the original version: the description says that the intent is to not change out of the box behavior, but the actual flag default was the opposite.

This new PR corrects both the flag default and the flag description to reflect the original intent of not changing default behavior.

Why are the changes needed?

Roll back an unintentional behavior change.

Does this PR introduce any user-facing change?

Yes, it rolls back an unintentional default behavior change.

How was this patch tested?

Existing unit tests.

Was this patch authored or co-authored using generative AI tooling?

No.

@JoshRosen JoshRosen requested a review from mridulm October 7, 2024 18:24
@github-actions github-actions bot added the CORE label Oct 7, 2024
@HyukjinKwon HyukjinKwon changed the title [SPARK-49898] Fix documentation and default for event log task metrics accumulator logging flag from SPARK-42204 [SPARK-49898][CORE] Fix documentation and default for event log task metrics accumulator logging flag from SPARK-42204 Oct 8, 2024
@HyukjinKwon
Copy link
Member

Merged to master.

himadripal pushed a commit to himadripal/spark that referenced this pull request Oct 19, 2024
…metrics accumulator logging flag from SPARK-42204

### What changes were proposed in this pull request?

This PR corrects an unintentional default behavior change from apache#39763

That PR introduced a new configuration, `spark.eventLog.includeTaskMetricsAccumulators`, to provide an ability for users to disable the redundant logging of task metrics information via the Accumulables field in the Spark event log task end logs.

I made a mistake in updating that PR description and code from the original version: the description says that the intent is to not change out of the box behavior, but the actual flag default was the opposite.

This new PR corrects both the flag default and the flag description to reflect the original intent of not changing default behavior.

### Why are the changes needed?

Roll back an unintentional behavior change.

### Does this PR introduce _any_ user-facing change?

Yes, it rolls back an unintentional default behavior change.

### How was this patch tested?

Existing unit tests.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#48372 from JoshRosen/fix-event-log-accumulable-defaults.

Authored-by: Josh Rosen <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants