[
https://issues.apache.org/jira/browse/HIVE-29595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-29595:
----------------------------------
Labels: metastore pull-request-available (was: metastore)
> HiveClientCache does not respect metastore.client.impl (HCatalog ignores
> pluggable IMetaStoreClient)
> ----------------------------------------------------------------------------------------------------
>
> Key: HIVE-29595
> URL: https://issues.apache.org/jira/browse/HIVE-29595
> Project: Hive
> Issue Type: Bug
> Components: HCatalog, Metastore
> Affects Versions: 4.2.0
> Reporter: Jayesh Lalwani
> Priority: Minor
> Labels: metastore, pull-request-available
>
> HIVE-12679 (fixed in 4.2.0) added support for pluggable IMetaStoreClient via
> metastore.client.impl in HiveMetaStoreClientBuilder. However, HiveClientCache
> used by HCatalog's HCatInputFormat/HCatOutputFormat was not updated.
>
>
>
>
> HiveClientCache still hardcodes HiveMetaStoreClient in:
>
>
>
> 1. getNonCachedHiveMetastoreClient() calls
> RetryingMetaStoreClient.getProxy(hiveConf, true) which hardcodes
> HiveMetaStoreClient.class.getName()
>
> 2. CacheableHiveMetaStoreClient extends HiveMetaStoreClient only works with
> the Thrift client
>
>
>
>
>
> This means any custom IMetaStoreClient configured via
> hive.metastore.client.impl is ignored when accessing Hive tables through
> HCatalog (MapReduce jobs using HCatInputFormat/HCatOutputFormat).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)