You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Naresh P R (Jira)" <ji...@apache.org> on 2021/08/04 00:03:00 UTC
[jira] [Created] (HIVE-25419) HMS Client filter fails with
StorageBasedAuthorizationProvider
Naresh P R created HIVE-25419:
---------------------------------
Summary: HMS Client filter fails with StorageBasedAuthorizationProvider
Key: HIVE-25419
URL: https://issues.apache.org/jira/browse/HIVE-25419
Project: Hive
Issue Type: Bug
Reporter: Naresh P R
hive.security.metastore.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider
hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider
hive.metastore.client.filter.enabled=true
"Show tables" fails at here
[https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java#L378-L379]
With following exception:
{code:java}
2021-07-29 17:09:12,278 ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler: [pool-14-thread-5]: MetaException(message:Error in HiveMetaStoreAuthorizer.filterTables()java.lang.RuntimeException: class org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider not org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthorizerFactory)
at org.apache.hadoop.hive.ql.security.authorization.plugin.metastore.HiveMetaStoreAuthorizer.filterTableNames(HiveMetaStoreAuthorizer.java:333)
at org.apache.hadoop.hive.ql.security.authorization.plugin.metastore.HiveMetaStoreAuthorizer.filterTableNames(HiveMetaStoreAuthorizer.java:163)
at org.apache.hadoop.hive.metastore.utils.FilterUtils.filterTableNamesIfEnabled(FilterUtils.java:109)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_tables_by_type(HiveMetaStore.java:5905){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)