hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14766) ObjectStore.initialize() needs retry mechanisms in case of connection failures
Date Thu, 15 Sep 2016 21:35:20 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494579#comment-15494579
] 

Thejas M Nair commented on HIVE-14766:
--------------------------------------

Thats some clever work in the test!
As discussed offline- 
 *  calling DriverManager.deregisterDriver in test would leave the state cleaner. 
 *  Limiting the failure to Metastoredirectsql invocations doesn't seem to be necessary


> ObjectStore.initialize() needs retry mechanisms in case of connection failures
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-14766
>                 URL: https://issues.apache.org/jira/browse/HIVE-14766
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.2.0, 2.1.1
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>         Attachments: HIVE-14766.patch
>
>
> RetryingHMSHandler handles retries to most HMSHandler calls. However, one area where
we do not have retries is in the very instantiation of ObjectStore. The lack of retries here
sometimes means that a flaky db connect around the time the metastore is started yields an
unresponsive metastore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message