[
https://issues.apache.org/jira/browse/HIVE-29595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078312#comment-18078312
]
Jayesh Lalwani commented on HIVE-29595:
---------------------------------------
I have PR opened to fix this https://github.com/apache/hive/pull/6462
> 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
>
> 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)