hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushanth Sowmyan (JIRA)" <>
Subject [jira] [Commented] (HIVE-8696) HCatClientHMSImpl doesn't use a Retrying-HiveMetastoreClient.
Date Wed, 06 May 2015 22:01:59 GMT


Sushanth Sowmyan commented on HIVE-8696:

Also, on a related note, this section is way too brittle, and will likely break because of
another exception chaining change sometime in the future, and is also very difficult to maintain
from a readability perspective.

-      assertTrue(e.getCause().getMessage().contains(
+      assertTrue(((InvocationTargetException)e.getCause().getCause().getCause()).getTargetException().getMessage().contains(
           "Could not connect to meta store using any of the URIs provided"));

I'm not going to ask to change that now, given that this patch itself is very important, and
a blocker, but could you please file a follow up jira to clean up this testcase regarding
this. :)

> HCatClientHMSImpl doesn't use a Retrying-HiveMetastoreClient.
> -------------------------------------------------------------
>                 Key: HIVE-8696
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HCatalog, Metastore
>    Affects Versions: 0.12.0, 0.13.1
>            Reporter: Mithun Radhakrishnan
>            Assignee: Thiruvel Thirumoolan
>             Fix For: 1.2.0
>         Attachments: HIVE-8696.1.patch, HIVE-8696.2.patch, HIVE-8696.3.patch, HIVE-8696.4.patch,
> The HCatClientHMSImpl doesn't use a RetryingHiveMetastoreClient. Users of the HCatClient
API that log in through keytabs will fail without retry, when their TGTs expire.
> The fix is inbound. 

This message was sent by Atlassian JIRA

View raw message