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 2021/08/02 06:40:00 UTC

[jira] [Updated] (HIVE-25048) Refine the start/end functions in HMSHandler

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

Zhihua Deng updated HIVE-25048:
-------------------------------
    Description: 
Some start/end functions are incomplete or wrong in the HMSHandler, these functions audit actions, monitor the performance, and notify the end function listeners. We have already measured the performance of the HMSHandler in PerfLogger,  and covered more methods than these functions that have done, so we can remove the monitoring from the start/end functions, move the end function listeners to the RetryingHMSHandler to eliminate the try-finally blocks that spread across many different methods. After these, we can try to cleanup the functions to make HMSHandler be more simplified.

 

  was:
Some start/end functions are incomplete and wrong in the HMSHandler, these functions audit actions, monitor the performance, and notify the end function listeners. We have already measured the performance of the HMSHandler in PerfLogger,  and covered more methods than these functions that have done, so we can remove the monitoring from the start/end functions, move the end function listeners to the RetryingHMSHandler to eliminate the try-finally blocks that spread across many different methods. After these, we can try to cleanup the functions to make HMSHandler be more simplified.

 


> Refine the start/end functions in HMSHandler
> --------------------------------------------
>
>                 Key: HIVE-25048
>                 URL: https://issues.apache.org/jira/browse/HIVE-25048
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Some start/end functions are incomplete or wrong in the HMSHandler, these functions audit actions, monitor the performance, and notify the end function listeners. We have already measured the performance of the HMSHandler in PerfLogger,  and covered more methods than these functions that have done, so we can remove the monitoring from the start/end functions, move the end function listeners to the RetryingHMSHandler to eliminate the try-finally blocks that spread across many different methods. After these, we can try to cleanup the functions to make HMSHandler be more simplified.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)