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
Cleanup unused config kyuubi.frontend.thrift.http.allow.user.substitution
#5912
Conversation
They are used. FYI: kyuubi/kyuubi-server/src/main/scala/org/apache/kyuubi/credentials/HadoopCredentialsManager.scala Line 316 in c290dae
|
it is also used. FYI:
|
@@ -743,14 +729,6 @@ object KyuubiConf { | |||
.toSequence() | |||
.createWithDefault(Nil) | |||
|
|||
val FRONTEND_THRIFT_HTTP_ALLOW_USER_SUBSTITUTION: ConfigEntry[Boolean] = |
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.
@mahmoudbahaa This configuration was introduced in #2815, could you please help us see if it is used?
Thanks for your double-checks. @wForget |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5912 +/- ##
============================================
- Coverage 61.54% 61.54% -0.01%
Complexity 23 23
============================================
Files 616 616
Lines 36387 36382 -5
Branches 4978 4978
============================================
- Hits 22394 22390 -4
- Misses 11573 11579 +6
+ Partials 2420 2413 -7 ☔ View full report in Codecov by Sentry. |
kyuubi.frontend.thrift.http.allow.user.substitution
fe3ac2d
to
9b0b31e
Compare
Thanks, merged to master. |
BTW, it seems that 📝 Committer Pre-Merge Checklist is not welcomed at all. @bowenliang123 |
Agree. It's quite heavy to fill the radio options either in markdown or on the interactive page. |
Can you send it PR to remove? |
I don't have better ideas in mind right now. Maybe we'd better revert it to the previous version of the pre-commit list, and skip the pre-merge list. |
…tp.allow.user.substitution` # 🔍 Description ## Issue References 🔗 As decribed. ## Describe Your Solution 🔧 Drop the unused config of KyuubiConf, which are never used and linked in source code and test code: - FRONTEND_THRIFT_HTTP_ALLOW_USER_SUBSTITUTION: `kyuubi.frontend.thrift.http.allow.user.substitution` ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklists ## 📝 Author Self Checklist - [x] My code follows the [style guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html) of this project - [x] I have performed a self-review - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) ## 📝 Committer Pre-Merge Checklist - [ ] Pull request title is okay. - [ ] No license issues. - [ ] Milestone correctly set? - [ ] Test coverage is ok - [ ] Assignees are selected. - [ ] Minimum number of approvals - [ ] No changes are requested **Be nice. Be informative.** Closes apache#5912 from bowenliang123/unused-configs. Closes apache#5912 b938058 [Bowen Liang] update doc 9fd441d [Bowen Liang] fix 9b0b31e [Bowen Liang] cleanup unused config entries in KyuubiConf Authored-by: Bowen Liang <liangbowen@gf.com.cn> Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
🔍 Description
Issue References 🔗
As decribed.
Describe Your Solution 🔧
Drop the unused config of KyuubiConf, which are never used and linked in source code and test code:
kyuubi.frontend.thrift.http.allow.user.substitution
Types of changes 🔖
Test Plan 🧪
Behavior Without This Pull Request ⚰️
Behavior With This Pull Request 🎉
Related Unit Tests
Checklists
📝 Author Self Checklist
📝 Committer Pre-Merge Checklist
Be nice. Be informative.