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
[#3337] improvement(hadoop-catalog): Support user impersonation for Hadoop catalog. #3352
base: main
Are you sure you want to change the base?
Conversation
...ommon/src/main/java/com/datastrato/gravitino/hadoop/authentication/AuthenticationConfig.java
Outdated
Show resolved
Hide resolved
Is it ready for review? |
I'm afraid we need to add some tests using the HDFS cluster, not just a mini cluster here. If this does not matter, I think it's ready for review. |
We could have a separate PR for e2e test, using mock test here to cover the logic should be enough. |
The following point needs clarification:
@jerryshao |
I would choose the option 2 as the bottom line. If we have a better solution to avoid code duplication while not changing Hadoop version, that would be better. |
@qqqttt123 @jerryshao |
@jerryshao |
What changes were proposed in this pull request?
Add user impersonation for the Hadoop catalog.
Why are the changes needed?
We need authentication for the encrypted HDFS cluster.
Fix: #3337
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
UT(TO add).