hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15184) Add the possibility to separate recoverable and not recoverable errors in DeletagionTokenStore
Date Mon, 14 Nov 2016 10:06:58 GMT

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

Peter Vary commented on HIVE-15184:
-----------------------------------

I have tested this with ZooKeeperTokenStore too.
What I have found that the CuratorFramework handles failures in a RetryLoop.callWithRetry,
so my guess is that the transient errors are handled by the framework. The specific error
which caused HIVE-13090 and HIVE-13075 is handled by their specific patch.

So I think we are good to go if we agree on this solution.

> Add the possibility to separate recoverable and not recoverable errors in DeletagionTokenStore
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15184
>                 URL: https://issues.apache.org/jira/browse/HIVE-15184
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, Metastore
>    Affects Versions: 1.3.0, 2.1.0, 2.0.1, 2.2.0
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>         Attachments: HIVE-15184.patch
>
>
> After HIVE-15090 committed we discussed it with [~thejas] and agreed, that it would be
even better if the DelegateTokenStore implementation could decide if an error is recoverable
or not. Since the DelegationTokenStore is not mentioned as a Hive API it is possible to change
the interface, so we could change the implementations shipped with Hive to use the new functionality,
and if someone uses it's own implementation of DelegationTokenStore, then he should do the
matching changes himself



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

Mime
View raw message