-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-53001][CORE][SQL][FOLLOW-UP] Disable spark.memory.unmanagedMemoryPollingInterval by default
#51778
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
Conversation
…ied Memory Manager
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making a quick followup, @ericm-db .
| .version("4.1.0") | ||
| .timeConf(TimeUnit.MILLISECONDS) | ||
| .createWithDefaultString("1s") | ||
| .createWithDefaultString("0s") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
| } | ||
| // Check for memory tracking - the continuous stream should trigger memory updates | ||
| var initialRocksDBMemory = 0L | ||
| eventually(timeout(Span(20, Seconds)), interval(Span(500, Millis))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the change. Let's see the CI result.
spark.memory.unmanagedMemoryPollingInterval by default
spark.memory.unmanagedMemoryPollingInterval by defaultspark.memory.unmanagedMemoryPollingInterval by default
|
@dongjoon-hyun This job keeps timing out, but the tests are passing - I think there are simply too many tests to run here. |
Ya, you are correct. I'm trying to rebalance the CI via the following. |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM.
I verified this manually.
$ build/sbt "sql/testOnly *.RocksDBStateStoreIntegrationSuite"
...
[info] Run completed in 19 seconds, 890 milliseconds.
[info] Total number of tests run: 29
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 29, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 83 s (01:23), completed Aug 1, 2025, 1:56:13 PM
|
Great, thanks for the help and the feedback here @dongjoon-hyun ! |
|
Merged to master. Thank YOU, @ericm-db . |
What changes were proposed in this pull request?
Follow up of #51708, addressing nits and test feedback
Why are the changes needed?
To conform with Spark style standards and make tests less flaky
Does this PR introduce any user-facing change?
No
How was this patch tested?
Unit tests
Was this patch authored or co-authored using generative AI tooling?
No