[ 
https://issues.apache.org/jira/browse/HIVE-27284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736771#comment-17736771
 ] 

Denys Kuzmenko commented on HIVE-27284:
---------------------------------------

Merged to master.
[~wechar], thank you for the contribution and [~dengzh] for the review!

> 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
>          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)

Reply via email to