Vihang Karajgaonkar created HIVE-27009: ------------------------------------------
Summary: Support pluggable user token provider HiveMetastoreClient Key: HIVE-27009 URL: https://issues.apache.org/jira/browse/HIVE-27009 Project: Hive Issue Type: Improvement Reporter: Vihang Karajgaonkar In HTTP mode, the HiveMetastoreClient can add a token based on the environment variable HMS_JWT. However, this approach is not very flexible because environment variables cannot be changed once set without restarting the JVM. It would be good to have a pluggable interface called HiveMetastoreUserTokenProvider which can provide token specific to the actual user session which is being used to connect to the HiveMetastore. If the user token provider is not available, we can fall back to using the environment variable HMS_JWT to keep backwards compatibility. -- This message was sent by Atlassian Jira (v8.20.10#820010)