You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/21 22:08:00 UTC

[jira] [Updated] (HIVE-27284) Make HMSHandler proxy pluggable

     [ https://issues.apache.org/jira/browse/HIVE-27284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HIVE-27284:
----------------------------------
    Labels: pull-request-available  (was: )

> 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: 10m
>  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)