-
Notifications
You must be signed in to change notification settings - Fork 305
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] Add hive-conf-dir option to paimon catalog #2187
Conversation
Codecov ReportAttention:
... and 5 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
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.
Does 'hadoop-conf-dir' also need to be added?
It seems that it is not necessary to add it currently. |
What is the specific reason for causing this error? And why does adding the |
Currently, the HiveCatalog of Paimon can only pass Hive configurations through the hive-conf-dir configuration. When initializing TTransport in HiveMetaStoreClient, different implementations are initialized based on specific Hive configuration files. If authentication is not configured in Hive, TSocket implementation should be used. If the configuration file is not read, authentication errors may occur due to the use of TUGIAssumingTransport implementation by some UGI instances in certain environments. |
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.
Why are the changes needed?
I encountered a Kerberos error when there was no hive-conf-dir parameter. However, this error does not always occur and may be related to the Kerberos environment of the server where AMS is located.
Brief change log
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation