-
Notifications
You must be signed in to change notification settings - Fork 153
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
Set the default disk capacity to the total space #237
Conversation
This problem occurred in our internal uniffle cluster. PTAL @jerqi |
Should we modify the document at the same time? |
Yes. If this direction is OK, I will go ahead to add more tests and doc. |
It's ok for me. |
Codecov Report
@@ Coverage Diff @@
## master #237 +/- ##
============================================
- Coverage 59.16% 59.14% -0.03%
Complexity 1332 1332
============================================
Files 160 160
Lines 8738 8740 +2
Branches 820 821 +1
============================================
- Hits 5170 5169 -1
- Misses 3303 3305 +2
- Partials 265 266 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
LGTM, thanks @zuston
Thanks @jerqi |
What changes were proposed in this pull request?
Set the default disk capacity to the total space
Why are the changes needed?
When shuffle-servers are colocated with NodeManagers, the disk capacity is hard to set. Because when it's equal with the total space, it will cause the most shuffle-servers startup fail due to free-space checking. If not, it will waste some disk resources.
And the default disk capacity is 1TB, it's not out-of-box value. So this PR is to set the default value of 'rss.server.disk.capacity' to the disk total space.
Does this PR introduce any user-facing change?
No
How was this patch tested?