[
https://issues.apache.org/jira/browse/HIVE-27284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko resolved HIVE-27284.
-----------------------------------
Fix Version/s: 4.0.0-beta-1
Resolution: Fixed
> Make HMSHandler proxy pluggable
> -------------------------------
>
> Key: HIVE-27284
> URL: https://issues.apache.org/jira/browse/HIVE-27284
> Project: Hive
> Issue Type: Improvement
> Components: Hive
> Affects Versions: 4.0.0-alpha-2
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-beta-1
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Currently HMS use the only proxy implementation of HMSHandler i.e
> {{RetryingHMSHandler}}, resulting in some code hacks in {{HMSHandler}}. For
> example when test HMS timeout, we add additional static fields
> {{testTimeoutEnabled}} and {{testTimeoutValue}}, and add sleep code in
> {{create_database}} method, which is not elegant and flexible.
> So we introduce a new conf {{metastore.hmshandler.proxy}} to configure proxy
> class for HMSHandler, it will be more convenient to extend the new proxy of
> HMSHandler and can separate test code from HMSHandler.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)