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-51097] [SS] Revert RocksDB instance metrics changes #50161

Closed
wants to merge 1 commit into from

Conversation

zecookiez
Copy link
Contributor

What changes were proposed in this pull request?

SPARK-51097

This change reverts the changes in master introduced from SPARK-51097. More specifically, this reverts the following commit: da1854e

The context of this issue is that the newly introduced instance metrics have been unexpectedly showing up in Spark UI regardless of whether they are being used or not by the state stores. As a result, a query using 500 shuffle partitions would result in 500 instance metrics showing up in Spark UI (specifically, the SQL tab visualizing execution plan).

The original PR from #49816 introduced a new type of SQL metrics denoting metrics for specific state store instances. This change only targeted RocksDB state stores.

Why are the changes needed?

This change is needed to revert an issue with the new instance metrics, where unused metrics would also show up on the Spark UI page. As a result, there would be hundreds of instance metrics showing up on the query visualizer.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Re-verified that RocksDBStateStoreIntegrationSuite is passing

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

No

@zecookiez zecookiez changed the title [SPARK-51097] [SS] Revert RocksDB instance metrics changes [SPARK-51097] [SS] Revert RocksDB instance metrics changes from master Mar 5, 2025
@zecookiez zecookiez changed the title [SPARK-51097] [SS] Revert RocksDB instance metrics changes from master [SPARK-51097] [SS] Revert RocksDB instance metrics changes for master Mar 5, 2025
@zecookiez zecookiez changed the title [SPARK-51097] [SS] Revert RocksDB instance metrics changes for master [SPARK-51097] [SS] Revert RocksDB instance metrics changes Mar 5, 2025
Copy link
Contributor

@HeartSaVioR HeartSaVioR left a comment

Choose a reason for hiding this comment

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

+1

Let's figure out better approach to address UI flooding issue and resubmit.

@HeartSaVioR
Copy link
Contributor

Thanks! Merging to master. (For 4.0 I'll handle this in backport PR)

HeartSaVioR pushed a commit that referenced this pull request Mar 6, 2025
### What changes were proposed in this pull request?

SPARK-51097

Similar to #50161, this PR reverts the changes in branch-4.0 introduced from SPARK-51097. More specifically, this reverts the following commit: 55fc6f5

The context of this issue is that the newly introduced instance metrics have been unexpectedly showing up in Spark UI regardless of whether they are being used or not by the state stores. As a result, a query using 500 shuffle partitions would result in 500 instance metrics showing up in Spark UI (specifically, the SQL tab visualizing execution plan).

The original PR from #49816 introduced a new type of SQL metrics denoting metrics for specific state store instances. This change only targeted RocksDB state stores.

### Why are the changes needed?

This change is needed to revert an issue with the new instance metrics, where unused metrics would also show up on the Spark UI page. As a result, there would be hundreds of instance metrics showing up on the query visualizer.

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

No

### How was this patch tested?

Re-verified that RocksDBStateStoreIntegrationSuite is passing

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

No

Closes #50165 from zecookiez/SPARK-51097-revert-4.0.

Authored-by: Zeyu Chen <[email protected]>
Signed-off-by: Jungtaek Lim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants