This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch test_email
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/test_email by this push:
new 880bf36f4a8 [chore](api-doc)Add HadoopKerberosAuthenticator api docs
(#43794)
880bf36f4a8 is described below
commit 880bf36f4a8353cdd81f0fc20dec38441eb2777a
Author: Calvin Kirs <[email protected]>
AuthorDate: Tue Nov 12 22:27:24 2024 +0800
[chore](api-doc)Add HadoopKerberosAuthenticator api docs (#43794)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
.../common/security/authentication/HadoopKerberosAuthenticator.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/fe/fe-common/src/main/java/org/apache/doris/common/security/authentication/HadoopKerberosAuthenticator.java
b/fe/fe-common/src/main/java/org/apache/doris/common/security/authentication/HadoopKerberosAuthenticator.java
index 14dace68b24..685a1de5537 100644
---
a/fe/fe-common/src/main/java/org/apache/doris/common/security/authentication/HadoopKerberosAuthenticator.java
+++
b/fe/fe-common/src/main/java/org/apache/doris/common/security/authentication/HadoopKerberosAuthenticator.java
@@ -51,6 +51,9 @@ public class HadoopKerberosAuthenticator implements
HadoopAuthenticator {
this.config = config;
}
+ /**
+ * Initialize hadoop configuration for kerberos authentication
+ */
public static void initializeAuthConfig(Configuration hadoopConf) {
hadoopConf.set(CommonConfigurationKeysPublic.HADOOP_SECURITY_AUTHORIZATION,
"true");
synchronized (HadoopKerberosAuthenticator.class) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]