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

[#1074] feat: Introduce the metric of local_storage_uniffle_used_space #1075

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

zuston
Copy link
Member

@zuston zuston commented Aug 3, 2023

What changes were proposed in this pull request?

Currently, the local_storage_used_space will show the disks used total size.
But if it is in the colocation with Yarn Nodemanager, this is not enough.

So this issue is to introduce the metric of local_storage_uniffle_used_space to
show the uniffle used space.

Why are the changes needed?

Fix: #1074

Does this PR introduce any user-facing change?

No.

How was this patch tested?

  1. UTs

@zuston zuston requested a review from jerqi August 3, 2023 09:38
@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2023

Codecov Report

Merging #1075 (0de63cf) into master (749f270) will increase coverage by 1.09%.
Report is 8 commits behind head on master.
The diff coverage is 76.00%.

@@             Coverage Diff              @@
##             master    #1075      +/-   ##
============================================
+ Coverage     54.20%   55.29%   +1.09%     
+ Complexity     2550     2547       -3     
============================================
  Files           386      366      -20     
  Lines         21861    19541    -2320     
  Branches       1813     1815       +2     
============================================
- Hits          11850    10806    -1044     
+ Misses         9311     8107    -1204     
+ Partials        700      628      -72     
Files Changed Coverage Δ
...org/apache/uniffle/server/LocalStorageChecker.java 65.92% <71.42%> (-0.47%) ⬇️
...rg/apache/uniffle/server/ShuffleServerMetrics.java 96.42% <100.00%> (+0.09%) ⬆️

... and 38 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

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

LGTM.

@zuston zuston merged commit ef7f392 into apache:master Aug 7, 2023
30 checks passed
@zuston
Copy link
Member Author

zuston commented Aug 7, 2023

Thanks for your review @jerqi Merged/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Introduce the metric of local_storage_uniffle_used_space
3 participants