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 #6367] Flink SQL engine supports RenewDelegationToken #6371
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6371 +/- ##
============================================
- Coverage 58.48% 58.32% -0.16%
Complexity 24 24
============================================
Files 653 656 +3
Lines 39880 40262 +382
Branches 5481 5499 +18
============================================
+ Hits 23322 23484 +162
- Misses 14067 14273 +206
- Partials 2491 2505 +14 ☔ View full report in Codecov by Sentry. |
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.
code change lgtm. but this is not covered by CI, please test locally and paste your testing result to the PR description
@@ -60,11 +60,11 @@ object KyuubiHadoopUtils extends Logging { | |||
val byteStream = new ByteArrayOutputStream | |||
creds.writeTokenStorageToStream(new DataOutputStream(byteStream)) | |||
|
|||
Base64.getMimeEncoder.encodeToString(byteStream.toByteArray) |
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.
newline cannot be parsed by flink command, so I changed it to Base64.getEncoder
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.
please change it in an independent PR. and I searched the codebase, seems there are other places call Base64.getMimeEncoder
, should we change them together?
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.
please change it in an independent PR. and I searched the codebase, seems there are other places call
Base64.getMimeEncoder
, should we change them together?
reverted and send a new pr #6408
I updated the test results to description, this change is as expected. @pan3793 PTAL, thanks. |
This reverts commit f5c08eb.
Thanks, merged to master |
🔍 Description
Issue References 🔗
This pull request fixes #6367
Describe Your Solution 🔧
RenewDelegationToken
method inFlinkTBinaryFrontendService
.kyuubi.engine.credentials
configuration when starting flink engine.Types of changes 🔖
Test Plan 🧪
Behavior Without This Pull Request ⚰️
Behavior With This Pull Request 🎉
test connection:
flink engine builder command:
jobmanager log:
Related Unit Tests
Checklist 📝
Be nice. Be informative.