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-15090) Temporary DB failure can stop ExpiredTokenRemover thread
Date Tue, 08 Nov 2016 20:49:58 GMT

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

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

We shouldn't be catching all throwables, that will include errors like OOM where retrying
doesn't make sense. Can we limit it to certain exceptions that can be realistically thrown
?


> Temporary DB failure can stop ExpiredTokenRemover thread
> --------------------------------------------------------
>
>                 Key: HIVE-15090
>                 URL: https://issues.apache.org/jira/browse/HIVE-15090
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 1.3.0, 2.1.0, 2.0.1, 2.2.0
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>             Fix For: 2.2.0
>
>         Attachments: HIVE-15090.2-branch-2.1.patch, HIVE-15090.2.patch, HIVE-15090.2.patch,
HIVE-15090.patch
>
>
> In HIVE-13090 we decided that we should not close the metastore if there is an unexpected
exception during the expired token removal process, but that fix leaves a running metastore
without ExpiredTokenRemover thread.
> To fix this I will move the catch inside the running loop, and hope the thread could
recover from the exception



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

Mime
View raw message