-
Notifications
You must be signed in to change notification settings - Fork 916
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
[KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 #3771
Conversation
…to Kyuubi 1.6.0
…to Kyuubi 1.6.0
docs/deployment/migration-guide.md
Outdated
* Since Kyuubi 1.7, Kyuubi returns engine's information for `GetInfo` request instead of server. To restore the previous behavior, set `kyuubi.server.info.provider` to `SERVER`. | ||
* Since Kyuubi 1.7, Kyuubi returns engine's information for `GetInfo` request instead of server. | ||
To restore the previous behavior, set `kyuubi.server.info.provider` to `SERVER`. | ||
* Since Kyuubi 1.7, `kyuubi.kinit.principal` & `kyuubi.kinit.keytab` are filtered out from Kyuubi engine's conf for better security. |
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.
it happened since 1.6.0
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.
Corrected
…to Kyuubi 1.6.0
…to Kyuubi 1.6.0
…to Kyuubi 1.6.0
docs/deployment/migration-guide.md
Outdated
When Kyuubi engine does kerberos authentication with zookeeper, user needs to explicitly set `kyuubi.ha.zookeeper.engine.auth.type` to `KERBEROS`. | ||
|
||
## Upgrading from Kyuubi 1.5 to 1.6 | ||
* Kyuubi engine get zookeeper principal & keytab from `kyuubi.ha.zookeeper.auth.principal` & `kyuubi.ha.zookeeper.auth.keytab`. |
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.
get => gets
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.
Done
…to Kyuubi 1.6.0
Codecov Report
@@ Coverage Diff @@
## master #3771 +/- ##
============================================
+ Coverage 51.93% 52.62% +0.69%
Complexity 13 13
============================================
Files 484 494 +10
Lines 27122 27799 +677
Branches 3784 3835 +51
============================================
+ Hits 14086 14630 +544
- Misses 11669 11773 +104
- Partials 1367 1396 +29
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
.fallbackConf(HA_ZK_AUTH_TYPE) | ||
.stringConf | ||
.checkValues(AuthTypes.values.map(_.toString)) | ||
.createWithDefault(AuthTypes.NONE.toString) |
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.
Engine defaults to access Zookeeper without authentication
…to Kyuubi 1.6.0
Thanks, merigng to master/1.6 |
…ubi 1.6.0 Fix #3744 - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3771 from zhouyifan279/3744. Closes #3744 5876429 [zhouyifan279] [KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 554e889 [zhouyifan279] [KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 a6bfa3d [zhouyifan279] [KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 c90470f [zhouyifan279] [KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 fe55f4a [zhouyifan279] [KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 e262872 [zhouyifan279] [KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 ed5e8bd [zhouyifan279] [KYUUBI #3744][Bug] InvalidACL appears in engine after upgrade to Kyuubi 1.6.0 Authored-by: zhouyifan279 <zhouyifan279@gmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
Why are the changes needed?
Fix #3744
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before make a pull request