-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[fix](kerberos)fix and refactor ugi login for kerberos and simple authentication #37301
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
5606297
to
8db5881
Compare
run buildall |
TPC-H: Total hot run time: 40069 ms
|
TPC-DS: Total hot run time: 174031 ms
|
ClickBench: Total hot run time: 30.73 s
|
a0845e4
to
36e7cde
Compare
run buildall |
e3bfb6c
to
93b506f
Compare
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TPC-H: Total hot run time: 39958 ms
|
TPC-DS: Total hot run time: 173112 ms
|
ClickBench: Total hot run time: 30.05 s
|
run external |
run buildall |
TPC-H: Total hot run time: 40043 ms
|
TPC-DS: Total hot run time: 173879 ms
|
ClickBench: Total hot run time: 30.7 s
|
...c/main/java/org/apache/doris/common/security/authentication/HadoopKerberosAuthenticator.java
Outdated
Show resolved
Hide resolved
fe/fe-common/src/main/java/org/apache/doris/common/security/authentication/HadoopUGI.java
Show resolved
Hide resolved
...c/main/java/org/apache/doris/common/security/authentication/HadoopKerberosAuthenticator.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/doris/common/security/authentication/HadoopSimpleAuthenticator.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/doris/common/security/authentication/HadoopSimpleAuthenticator.java
Outdated
Show resolved
Hide resolved
...n/java/org/apache/doris/common/security/authentication/ImpersonatingHadoopAuthenticator.java
Outdated
Show resolved
Hide resolved
...n/java/org/apache/doris/common/security/authentication/ImpersonatingHadoopAuthenticator.java
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/datasource/hive/HiveMetaStoreCache.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/datasource/hive/HiveMetaStoreCache.java
Outdated
Show resolved
Hide resolved
run buildall |
run buildall |
TPC-H: Total hot run time: 40119 ms
|
TPC-DS: Total hot run time: 173411 ms
|
ClickBench: Total hot run time: 30.43 s
|
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
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…hentication (#37301) ## Proposed changes optimize kerberos ugi login: 1. support authentication framework for external table 2. cache ugi to avoid conflicts when set configuration for ugi login 3. do ugi login just on creating catalog, which reduces the ugi create times 4. only simple authentication will use getloginUser, which avoids conflicts between simple and kerberos authentication <!--Describe your changes.-->
Proposed changes
optimize kerberos ugi login: