[
https://issues.apache.org/jira/browse/HIVE-29402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-29402:
-------------------------------
Description:
In older versions, the HMSHandler becomes a "God Object" that handled
everything from Thrift requests and authorization to file system operations and
raw database transactions.
To decouple these operations from HMSHandler, HIVE-27224 introduces the
AbstractOperationHandler, where a handler can deal with a specific request, it
handles the file system operations, transactions and notifying the listener
reacting to this request only, the HMSHandler takes care of the rest, such as
audit, exception and the respond to the client.
By this way the HMSHandler has a simpler routine, which makes it easier to
maintain and optimize in the future.
was:
In older versions, the HMSHandler is a "God Object" that handled everything
from Thrift requests and authorization to file system operations and raw
database transactions.
To decouple these operations from HMSHandler, HIVE-27224 introduces the
AbstractOperationHandler, where a handler can deal with a specific request, it
handles the file system operations, transactions and notifying the listener
reacting to this request only, the HMSHandler takes care of the rest, such as
audit, exception and the respond to the client.
By this way the HMSHandler has a simpler routine, which makes it easier to
maintain and optimize in the future.
> Split HMSHandler
> ----------------
>
> Key: HIVE-29402
> URL: https://issues.apache.org/jira/browse/HIVE-29402
> Project: Hive
> Issue Type: Wish
> Reporter: Zhihua Deng
> Priority: Major
> Attachments: Split HMSHandler.pdf
>
>
> In older versions, the HMSHandler becomes a "God Object" that handled
> everything from Thrift requests and authorization to file system operations
> and raw database transactions.
> To decouple these operations from HMSHandler, HIVE-27224 introduces the
> AbstractOperationHandler, where a handler can deal with a specific request,
> it handles the file system operations, transactions and notifying the
> listener reacting to this request only, the HMSHandler takes care of the
> rest, such as audit, exception and the respond to the client.
> By this way the HMSHandler has a simpler routine, which makes it easier to
> maintain and optimize in the future.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)