You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2026/02/02 00:33:00 UTC

[jira] [Updated] (HIVE-29427) Separate deprecated methods from HMSHandler

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

Zhihua Deng updated HIVE-29427:
-------------------------------
    Description: 
We have dozens of methods in HMSHandler marked as deprecated, it's time to move them out of the HMSHandler to make it focus on the supported APIs.

For those deprecated methods, we need to know when they are declared as deprecated, so it's easy to validate or even remove them in the future, similar as:

 
@Deprecated(since = "4.3.0", forRemoval = true, jira = "HIVE-xxx")
public void flushCache() throws TException

{    getMS().flushCache(); }

  was:
We have dozens of methods in HMSHandler marked as deprecated, it's time to move them out of the HMSHandler to make it focus on the supported APIs.

For those deprecated methods, we need to know when they are declared as deprecated, so it's easy to validate or even remove them in the future, similar as:

 
@Deprecated(since = "4.3.0", jira = "HIVE-xxx")
public void flushCache() throws TException {
   getMS().flushCache();
}


> Separate deprecated methods from HMSHandler
> -------------------------------------------
>
>                 Key: HIVE-29427
>                 URL: https://issues.apache.org/jira/browse/HIVE-29427
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Zhihua Deng
>            Priority: Major
>
> We have dozens of methods in HMSHandler marked as deprecated, it's time to move them out of the HMSHandler to make it focus on the supported APIs.
> For those deprecated methods, we need to know when they are declared as deprecated, so it's easy to validate or even remove them in the future, similar as:
>  
> @Deprecated(since = "4.3.0", forRemoval = true, jira = "HIVE-xxx")
> public void flushCache() throws TException
> {    getMS().flushCache(); }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)