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 DelegationTokenStore
Date Thu, 05 Oct 2017 07:37:00 GMT

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

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

IIRC we need the new jars, to be able to check the Exception thrown by JDBC:
{code}
if (cause instanceof JDOCanRetryException) {   <-- for this line only :)
{code}
Thanks for looking at this [~sershe]!

Peter

> Add the possibility to separate recoverable and not recoverable errors in DelegationTokenStore
> ----------------------------------------------------------------------------------------------
>
>                 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.0.1, 2.1.0, 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.4.14#64029)

Mime
View raw message