Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-50332][CORE] Optimize accurate CompressedMapStatus #48896

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xy2953396112
Copy link
Contributor

What changes were proposed in this pull request?

Optimize accurate CompressedMapStatus

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Unit test

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

@github-actions github-actions bot added the CORE label Nov 19, 2024
@HyukjinKwon HyukjinKwon changed the title [SPARK-50332] Optimize accurate CompressedMapStatus [SPARK-50332][CORE] Optimize accurate CompressedMapStatus Nov 20, 2024
ConfigBuilder("spark.shuffle.optimize.compressed.convert.highly.map.status")
.internal()
.doc("CompressedMapStatus Convert to HighlyCompressedMapStatus for reduce Driver memory")
.version("2.3.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.0.0?

@@ -839,7 +851,26 @@ private[spark] class MapOutputTrackerMaster(
}

def registerMapOutput(shuffleId: Int, mapIndex: Int, status: MapStatus): Unit = {
shuffleStatuses(shuffleId).addMapOutput(mapIndex, status)
if (enableOptimizeCompressedMapStatus && status != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can MapStatusesSerDeserBenchmark be used to demonstrate performance improvements?

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.

2 participants