[
https://issues.apache.org/jira/browse/HIVE-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dong Chen updated HIVE-9906:
----------------------------
Attachment: HIVE-9906.patch
Uploaded a patch.
If the Deadline timer is not started or registered in RetryingHMSHandler, we
will start it here. Otherwise, keep the original logic.
> Add timeout mechanism in RawStoreProxy
> --------------------------------------
>
> Key: HIVE-9906
> URL: https://issues.apache.org/jira/browse/HIVE-9906
> Project: Hive
> Issue Type: Sub-task
> Components: Metastore
> Reporter: Dong Chen
> Assignee: Dong Chen
> Attachments: HIVE-9906.patch
>
>
> In HIVE-9253, we add a timeout mechanism in HMS. We start the timer in
> RetryingHMSHandler.invoke, and then -> RawStoreProxy.invoke ->
> ObjectStore.xxxMethod. The timer is stopped after methods complete.
> It was found that, the methods of ObjectStore might be invoked directly in
> o.a.h.h.ql.txn.compactor.CompactorThread, but not throught HMSHandler. This
> will cause timeout checking to throw exception. We need fix this bug here.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)