Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[#3489] improvement(hive-catalog): Add user authentication e2e test for Hive catalog #3525
[#3489] improvement(hive-catalog): Add user authentication e2e test for Hive catalog #3525
Changes from 23 commits
fd390d0
780e375
9c0a2ed
3a6a31b
3f06416
85e6b73
66640fc
01dbf60
d6960c8
e71dde3
5a26aa1
6488d03
8aa9b4d
4609efb
30d4c60
965f63a
0f8051c
6919203
ac82116
b30294c
cf212b2
fee42e5
3875934
a5d07cb
56af48f
05a40ac
d3a4e5f
291907d
f94f118
7f50dba
a231e49
b3cc997
fb29d97
845f393
7c571e4
c73635b
538f91c
832719c
e164532
84648c0
8014be8
603bb54
5bce6c1
c71cbc6
9c200ba
5c11d79
3761b1a
d26e139
a60e6ff
1eab58f
6524f00
05a810a
bb8d5f7
e8d6a8c
e6afd7f
74d1b87
618e1ca
f913b68
f63d1cf
7cb5b8b
b1e04b6
e004750
9d9766b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
This a bug, just fixed it by the way.
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.
Why do we need to enable sasl here?
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.
The Hive metastore has enabled this configuration.
https://github.com/datastrato/gravitino/blob/29a3d62ee2a80e38d2a91ed7a71951e185faa4cf/dev/docker/kerberos-hive/hive-site.xml#L59-L61
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.
Why, not what you did, to enable this?
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.
If we enable Kerberos for Hive, we need to use SSL or SASL security for the transport layer, and compared to SSL, SASL is relatively simple to configure, so we choose to use SASL. That is why the Hive metastore and Hive client need to be enabled.
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.
I think you'd better add more tests, like drop table, create and drop schema.
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.
added