You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "leixm (via GitHub)" <gi...@apache.org> on 2024/01/19 10:18:21 UTC
[PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager. [incubator-celeborn]
leixm opened a new pull request, #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243
### What changes were proposed in this pull request?
Introduce default quota for DefaultQuotaManager.
### Why are the changes needed?
Many times, for users who do not have a quota configured, we hope to have a default quota that applies to them.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
UTs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1465793695
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
+- tenantId: default
+ name: default
+ quota:
+ diskBytesWritten: 1G
+ diskFileCount: 1000
+ hdfsBytesWritten: 1G
+ hdfsFileCount: 1000
Review Comment:
Should not add to this template, should add this to quotas template
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1465810691
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
+- tenantId: default
+ name: default
+ quota:
+ diskBytesWritten: 1G
+ diskFileCount: 1000
+ hdfsBytesWritten: 1G
+ hdfsFileCount: 1000
Review Comment:
okk.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1465796553
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
+- tenantId: default
+ name: default
+ quota:
+ diskBytesWritten: 1G
+ diskFileCount: 1000
+ hdfsBytesWritten: 1G
+ hdfsFileCount: 1000
Review Comment:
Also need add this to doc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1465905209
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
+- tenantId: default
+ name: default
+ quota:
+ diskBytesWritten: 1G
+ diskFileCount: 1000
+ hdfsBytesWritten: 1G
+ hdfsFileCount: 1000
Review Comment:
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "RexXiong (via GitHub)" <gi...@apache.org>.
RexXiong commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1465918006
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
Review Comment:
IMO, we can add a new field `level` such as TENANT、USER(default for compatible)instead hack the name as default, and For cluster default, we can use SYSTEM level.
> - level: System
quota:
diskBytesWritten: 100m
diskFileCount: 200
hdfsBytesWritten: 200m
hdfsFileCount: 100
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#issuecomment-1909279831
ping @SteNicholas @FMX @waitinfuture It's an important thing to do this before we can get actual user resource usage before set quota for each user.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager. [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#issuecomment-1900133461
cc @AngersZhuuuu
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu closed pull request #2243: [CELEBORN-1239] Introduce default quota for DefaultQuotaManager
URL: https://github.com/apache/incubator-celeborn/pull/2243
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#issuecomment-1903563222
What's the behavior of we didn't setting default quota?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1469374877
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
Review Comment:
I modified the hierarchy of the configuration file to make it more intuitive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager. [incubator-celeborn]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#issuecomment-1900153641
## [Codecov](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2243?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
Attention: `5 lines` in your changes are missing coverage. Please review.
> Comparison is base [(`ef47645`)](https://app.codecov.io/gh/apache/incubator-celeborn/commit/ef47645b7a37b4cc3e6669978197ec88659d8baf?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 47.62% compared to head [(`ba7fbc8`)](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2243?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 47.73%.
| [Files](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2243?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [...he/celeborn/common/quota/DefaultQuotaManager.scala](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2243?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL3NjYWxhL29yZy9hcGFjaGUvY2VsZWJvcm4vY29tbW9uL3F1b3RhL0RlZmF1bHRRdW90YU1hbmFnZXIuc2NhbGE=) | 0.00% | [5 Missing :warning: ](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2243?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #2243 +/- ##
==========================================
+ Coverage 47.62% 47.73% +0.12%
==========================================
Files 192 192
Lines 11872 11876 +4
Branches 1052 1054 +2
==========================================
+ Hits 5653 5668 +15
+ Misses 5845 5836 -9
+ Partials 374 372 -2
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2243?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1465919185
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
Review Comment:
Good idea.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1469373760
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
Review Comment:
cc @RexXiong PTAL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#issuecomment-1903724168
> What's the behavior of we didn't setting default quota?
As before, no quotas.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#issuecomment-1951937157
This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1239] Introduce default quota for DefaultQuotaManager [incubator-celeborn]
Posted by "leixm (via GitHub)" <gi...@apache.org>.
leixm commented on code in PR #2243:
URL: https://github.com/apache/incubator-celeborn/pull/2243#discussion_r1465796096
##########
conf/quota.yaml.template:
##########
@@ -30,3 +30,12 @@
diskFileCount: 1000
hdfsBytesWritten: 3G
hdfsFileCount: 200
+
+# Users without configuration will use this configuration
+- tenantId: default
+ name: default
+ quota:
+ diskBytesWritten: 1G
+ diskFileCount: 1000
+ hdfsBytesWritten: 1G
+ hdfsFileCount: 1000
Review Comment:
This is quota template.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org