-
Notifications
You must be signed in to change notification settings - Fork 148
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
[#410] feat: support the hot reload of coordinator's configuration #572
Conversation
Is this ready for review? |
OK. |
Codecov Report
@@ Coverage Diff @@
## master #572 +/- ##
============================================
- Coverage 60.87% 60.87% -0.01%
- Complexity 1796 1799 +3
============================================
Files 213 214 +1
Lines 12375 12398 +23
Branches 1049 1051 +2
============================================
+ Hits 7533 7547 +14
- Misses 4435 4443 +8
- Partials 407 408 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
common/src/main/java/org/apache/uniffle/common/config/Reconfigurable.java
Show resolved
Hide resolved
common/src/main/java/org/apache/uniffle/common/config/ReconfigurableBase.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/apache/uniffle/common/config/ReconfigurableBase.java
Show resolved
Hide resolved
coordinator/src/main/java/org/apache/uniffle/coordinator/AccessManager.java
Show resolved
Hide resolved
coordinator/src/main/java/org/apache/uniffle/coordinator/SimpleClusterManager.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/apache/uniffle/common/config/Reconfigurable.java
Show resolved
Hide resolved
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.
Generally lgtm, except two minor comments.
...or/src/main/java/org/apache/uniffle/coordinator/access/checker/AccessClusterLoadChecker.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/apache/uniffle/common/config/ReconfigurableBase.java
Outdated
Show resolved
Hide resolved
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 @jerqi for the work. Some nits inlined.
common/src/main/java/org/apache/uniffle/common/config/ReconfigurableBase.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/apache/uniffle/common/config/ReconfigurableBase.java
Outdated
Show resolved
Hide resolved
…urableBase.java Co-authored-by: Kaijie Chen <ckj@apache.org>
…urableBase.java Co-authored-by: Kaijie Chen <ckj@apache.org>
common/src/main/java/org/apache/uniffle/common/config/ReconfigurableBase.java
Outdated
Show resolved
Hide resolved
…urableBase.java Co-authored-by: Kaijie Chen <ckj@apache.org>
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 @advancedxy @kaijchen , merged. |
What changes were proposed in this pull request?
I refer to Hadoop implement. I design a hot reload process. We support nodeMax at first.
Why are the changes needed?
It's more convenient.
Does this PR introduce any user-facing change?
add
rss.reconfigure.interval.sec
.How was this patch tested?
UT