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

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

Wechar created HIVE-27284:
-----------------------------

             Summary: 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


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)