-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-54449][CORE] Storage Memory off heap size should be considered only when off heap is enabled #53383
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
Open
VindhyaG
wants to merge
21
commits into
apache:master
Choose a base branch
from
VindhyaG:SPARK-54449
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+63
−17
Open
[SPARK-54449][CORE] Storage Memory off heap size should be considered only when off heap is enabled #53383
Changes from 8 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4c49196
SPARK-54449: Check if off heap config is enabled before getting off h…
VindhyaG 100dc43
SPARK-54449 : fix scala styling
VindhyaG 4282a71
Revert "SPARK-54449 : fix scala styling"
VindhyaG 5615d1c
SPARK-54449: fix scala styling
VindhyaG a2f4e27
SPARK-54449: add flag to UT
VindhyaG 0a79a8d
UTs
VindhyaG c701ee2
SPARK-54449: ut fix
VindhyaG a48fbaf
Merge branch 'apache:master' into SPARK-54449
VindhyaG 951c31a
Merge branch 'apache:master' into SPARK-54449
VindhyaG dcd9d03
SPARK-54449: Add hover over message
VindhyaG c13cc9a
SPARK-54449: Driver should show 0 off heap no matter the settings
VindhyaG 00e7b74
SPARK-54449: UT fixes
VindhyaG 30fe113
Merge branch 'apache:master' into SPARK-54449
VindhyaG adf2292
SPARK-54449: Add warning if off heap size is disabled but value is no…
VindhyaG 20df98c
Merge branch 'apache:master' into SPARK-54449
VindhyaG df91792
Merge branch 'apache:master' into SPARK-54449
VindhyaG 8fda937
Merge branch 'apache:master' into SPARK-54449
VindhyaG 998d69a
Merge branch 'apache:master' into SPARK-54449
VindhyaG f684da4
Merge branch 'apache:master' into SPARK-54449
VindhyaG e050399
Merge branch 'apache:master' into SPARK-54449
VindhyaG 43dccde
Merge branch 'apache:master' into SPARK-54449
VindhyaG File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why does
MEMORY_OFFHEAP_ENABLEDdepend onmaxMem?Uh oh!
There was an error while loading. Please reload this page.
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.
This is for the UTs wtih the tests where if maxMem set specifically greather than 0 only then set the MEMORY_OFFHEAP_ENABLED to true else keep it default false. Earlier MEMORY_OFFHEAP_ENABLED was always set to default false and only MEMORY_OFFHEAP_SIZE value was used to test all the combinations because earlier MEMORY_OFFHEAP_ENABLED true needed MEMORY_OFFHEAP_SIZE > 0 and not vice versa. MEMORY_OFFHEAP_ENABLED value did not matter at all for MEMORY_OFFHEAP_SIZE tests. We cannot do that with this change where if MEMORY_OFFHEAP_ENABLED is false maxMem is essentially zero as well.