-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BugFix] Solve issues-3470: Yarn webui fails to obtain task status when submitting a Flink task after turning on Kerberos authentication. #4020
Conversation
…erberos认证,相关issues: DataLinkDC#3470
请使用spotless 格式化代码,详细查看此文:https://www.dinky.org.cn/docs/next/developer_guide/contribution/pull_request#pull-request-code-style |
…erberos认证,相关issues: DataLinkDC#3470
…erberos认证,相关issues: DataLinkDC#3470
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.
已调整
…erberos认证,相关issues: DataLinkDC#3470
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.
调整 import x.*
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.
Hi. Thank you for your contribution. I have a question.
dinky-gateway/src/main/java/org/dinky/gateway/yarn/YarnGateway.java
Outdated
Show resolved
Hide resolved
增加调用Flink HTTP API时候进行Kerberos认证,相关issues: DataLinkDC#3470
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.
更改判断方式,仅在获取flink任务状态时候HTTP如果返回401状态时,额外采用Kerberos方式认证HTTP获取flink任务状态
dinky-gateway/src/main/java/org/dinky/gateway/utils/RequestKerberosUrlUtils.java
Show resolved
Hide resolved
Hi. Run 'mvn spotless:apply' to fix these violations. |
解决yarn webui开启Kerberos认证后递交Flink任务无法获取任务状态的问题,增加调用Flink HTTP API时候进行Kerberos认证,相关issues: DataLinkDC#3470
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.
spotless:apply done
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.
LGTM
解决yarn webui开启Kerberos认证后递交Flink任务无法获取任务状态的问题,增加调用Flink HTTP API时候进行Kerberos认证,
相关issues: #3470
Purpose of the pull request
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows: