-
Notifications
You must be signed in to change notification settings - Fork 378
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
[#3906] improvement(hive-catalog): Add user authentication IT for multiple HMS #3907
Conversation
# Conflicts: # catalogs/catalog-hive/src/test/java/org/apache/gravitino/catalog/hive/integration/test/MultipleHMSUserAuthenticationIT.java
@mchades |
String ip = kerberosHiveContainer.getContainerIpAddress(); | ||
int port = HiveContainer.HIVE_METASTORE_PORT; | ||
// Multiple HMS URIs, I put the new one first to test the new HMS URI first. | ||
HIVE_METASTORE_URI = String.format("thrift://%s:1%d,thrift://%s:%d", ip, port, ip, port); |
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 use a new port parameter, 1%d
looks too tricky
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.
Fixed
@mchades |
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.
What changes were proposed in this pull request?
Add IT about user authentication for Hive catalog with Kerberos enabled.
Why are the changes needed?
To cover more usage cases.
Fix: #3906
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
N/A