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)

Reply via email to