-
Notifications
You must be signed in to change notification settings - Fork 360
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
[CELEBORN-1264] ConfigService supports TENANT_USER config level #2285
Conversation
ping @SteNicholas @RexXiong cc @leixm |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2285 +/- ##
==========================================
+ Coverage 48.85% 48.93% +0.09%
==========================================
Files 208 208
Lines 12837 12893 +56
Branches 1104 1113 +9
==========================================
+ Hits 6270 6308 +38
- Misses 6167 6176 +9
- Partials 400 409 +9 ☔ View full report in Codecov by Sentry. |
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigLevel.java
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigService.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigService.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigLevel.java
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigService.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/UserConfig.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigService.java
Outdated
Show resolved
Hide resolved
@AngersZhuuuu ConfigService has been refined, pls resolve the conflict, refer: #2273 |
@RexXiong @SteNicholas Pls take a look again, have changed base on new code. |
service/src/main/java/org/apache/celeborn/server/common/service/config/FsConfigServiceImpl.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/FsConfigServiceImpl.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/FsConfigServiceImpl.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigService.java
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/ConfigService.java
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/store/IServiceManager.java
Show resolved
Hide resolved
...e/src/main/java/org/apache/celeborn/server/common/service/store/db/DbServiceManagerImpl.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/apache/celeborn/server/common/service/store/db/DbServiceManagerImpl.java
Outdated
Show resolved
Hide resolved
@AngersZhuuuu, could you add description about introduced interfaces in |
service/src/main/java/org/apache/celeborn/server/common/service/config/FsConfigServiceImpl.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/apache/celeborn/server/common/service/config/FsConfigServiceImpl.java
Outdated
Show resolved
Hide resolved
Merge to master branch, thanks |
### What changes were proposed in this pull request? ConfigService support user level config ### Why are the changes needed? Support more case of config, later can integrate with quota manager ### Does this PR introduce _any_ user-facing change? With this pr, user's setting form config service will have three level - User - Tenant - System User identifier is construct by username and tenantId, If there is no specify setting for username, will fallback to tenant level setting, if tenant level setting also not set, fallback to system setting ### How was this patch tested? Added UT Closes apache#2285 from AngersZhuuuu/CELEBORN-1264. Authored-by: Angerszhuuuu <angers.zhu@gmail.com> Signed-off-by: Angerszhuuuu <angers.zhu@gmail.com>
What changes were proposed in this pull request?
ConfigService support user level config
Why are the changes needed?
Support more case of config, later can integrate with quota manager
Does this PR introduce any user-facing change?
With this pr, user's setting form config service will have three level
User identifier is construct by username and tenantId,
If there is no specify setting for username, will fallback to tenant level setting, if tenant level setting also not set, fallback to system setting
How was this patch tested?
Added UT