Skip to content

Conversation

@smallzhongfeng
Copy link
Contributor

What changes were proposed in this pull request?

Four util methods for creating thread pools have been added.

Why are the changes needed?

Fix: #755

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Origin uts.

@smallzhongfeng smallzhongfeng changed the title #755 improvement: Add the method of creating thread pool [#755] improvement: Add the method of creating thread pool Mar 27, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2023

Codecov Report

Merging #767 (ea9aef4) into master (d60d675) will increase coverage by 2.44%.
The diff coverage is 86.48%.

@@             Coverage Diff              @@
##             master     #767      +/-   ##
============================================
+ Coverage     60.63%   63.08%   +2.44%     
- Complexity     1893     1954      +61     
============================================
  Files           238      230       -8     
  Lines         13000    11336    -1664     
  Branches       1090     1118      +28     
============================================
- Hits           7883     7151     -732     
+ Misses         4679     3789     -890     
+ Partials        438      396      -42     
Impacted Files Coverage Δ
...ache/uniffle/common/config/ReconfigurableBase.java 0.00% <0.00%> (ø)
...java/org/apache/uniffle/common/rpc/GrpcServer.java 21.53% <0.00%> (ø)
...va/org/apache/uniffle/common/util/ThreadUtils.java 55.55% <57.14%> (-11.12%) ⬇️
...g/apache/hadoop/mapred/SortWriteBufferManager.java 79.78% <100.00%> (-0.11%) ⬇️
...he/uniffle/client/impl/ShuffleWriteClientImpl.java 33.33% <100.00%> (-0.33%) ⬇️
...rometheus/PrometheusPushGatewayMetricReporter.java 74.46% <100.00%> (ø)
...uniffle/common/security/HadoopSecurityContext.java 80.55% <100.00%> (-0.53%) ⬇️
...ava/org/apache/uniffle/common/web/JettyServer.java 56.25% <100.00%> (ø)
...apache/uniffle/coordinator/ApplicationManager.java 83.70% <100.00%> (-0.19%) ⬇️
.../apache/uniffle/coordinator/ClientConfManager.java 92.85% <100.00%> (-0.11%) ⬇️
... and 7 more

... and 52 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

@jerqi jerqi changed the title [#755] improvement: Add the method of creating thread pool [#755] refactor: Add the method of creating thread pool Mar 28, 2023
@smallzhongfeng smallzhongfeng merged commit 3f9ba81 into apache:master Mar 28, 2023
@smallzhongfeng
Copy link
Contributor Author

Thanks ! @jerqi Merged to master.

xianjingfeng pushed a commit to xianjingfeng/uniffle that referenced this pull request Apr 5, 2023
…#767)

<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
   Examples:
     - "[apache#123] feat(operator): support xxx"
     - "[apache#233] fix: check null before access result in xxx"
     - "[MINOR] refactor: fix typo in variable name"
     - "[MINOR] docs: fix typo in README"
     - "[apache#255] test: fix flaky test NameOfTheTest"
   Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. Contributor guidelines:
   https://github.com/apache/incubator-uniffle/blob/master/CONTRIBUTING.md
3. If the PR is unfinished, please mark this PR as draft.
-->

### What changes were proposed in this pull request?
Four util methods for creating thread pools have been added.

### Why are the changes needed?
Fix: apache#755

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

### How was this patch tested?
Origin uts.
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] Add the method of creating thread pool

3 participants