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

[ISSUE-390] Print more infos after read finished #395

Merged
merged 5 commits into from
Dec 10, 2022

Conversation

xianjingfeng
Copy link
Member

@xianjingfeng xianjingfeng commented Dec 9, 2022

What changes were proposed in this pull request?

1.Print how much data the client read from each server.
2.Print how much data skipped.

Why are the changes needed?

Currently, we do not know how much data the client read from each server and how much data skipped #390

Does this PR introduce any user-facing change?

No

How was this patch tested?

Run Uts and check logs

@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2022

Codecov Report

Merging #395 (f1a3cf6) into master (3ec3f41) will decrease coverage by 0.23%.
The diff coverage is 11.42%.

@@             Coverage Diff              @@
##             master     #395      +/-   ##
============================================
- Coverage     58.77%   58.53%   -0.24%     
- Complexity     1602     1604       +2     
============================================
  Files           193      194       +1     
  Lines         10939    10990      +51     
  Branches        955      962       +7     
============================================
+ Hits           6429     6433       +4     
- Misses         4132     4179      +47     
  Partials        378      378              
Impacted Files Coverage Δ
...uniffle/storage/factory/ShuffleHandlerFactory.java 0.00% <0.00%> (ø)
...torage/handler/impl/ComposedClientReadHandler.java 0.00% <0.00%> (ø)
...le/storage/handler/impl/HdfsClientReadHandler.java 82.60% <ø> (+7.60%) ⬆️
...ge/handler/impl/MultiReplicaClientReadHandler.java 0.00% <0.00%> (ø)
...torage/handler/impl/AbstractClientReadHandler.java 12.00% <10.00%> (-8.00%) ⬇️
...iffle/storage/handler/ClientReadHandlerMetric.java 18.42% <18.42%> (ø)
...che/uniffle/client/impl/ShuffleReadClientImpl.java 88.67% <100.00%> (+0.21%) ⬆️
.../java/org/apache/uniffle/server/ShuffleServer.java 64.49% <0.00%> (-2.90%) ⬇️

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

@jerqi
Copy link
Contributor

jerqi commented Dec 9, 2022

Could we add some uts for this pr?

@xianjingfeng
Copy link
Member Author

Could we add some uts for this pr?

Done

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, thanks @xianjingfeng

@jerqi jerqi linked an issue Dec 10, 2022 that may be closed by this pull request
3 tasks
@jerqi jerqi merged commit 469a0c7 into apache:master Dec 10, 2022
jerqi pushed a commit that referenced this pull request Dec 12, 2022
### What changes were proposed in this pull request?
Fix incorrect block info statistics after read finished

### Why are the changes needed?
It is bug introduce by #395 

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

### How was this patch tested?
No need
@xianjingfeng xianjingfeng deleted the issue_390 branch August 9, 2024 06:46
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.

[Improvement] Print more infos after read finished
3 participants