Skip to content
Discussion options

You must be logged in to vote

hive.metastore.thrift.impersonation.enabled=true is just used to pass real client user(Trino side) to metastore, and you can check metastore log to verify the user info.

If i understand correctly, you want to add access control on hive catalog, here have two methods to achieve this:

  1. Add Trino ranger plugin, you can add fine-grained permissions on hive catalog. This way is not related to the config hive.metastore.thrift.impersonation.enabled=true;
  2. https://issues.apache.org/jira/browse/HIVE-21753 (Hive4.0 metastore Ranger Based Authorization) with hive.metastore.thrift.impersonation.enabled=true, you can get correct output for each user when executing query 'show schemas/tables'.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by user-GitHub-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14984 on November 21, 2022 06:46.