hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <>
Subject [jira] [Commented] (HIVE-11657) HIVE-2573 introduces some issues during metastore init (and CLI init)
Date Tue, 01 Sep 2015 09:09:45 GMT


Navis commented on HIVE-11657:

[~sershe] Making static call in Hive was one of the my worst decision on hive. I was so tired
of rebasing the patch for years and new things like permanent function bothered too much of
me and I couldn't think of any better idea in that day. 

> HIVE-2573 introduces some issues during metastore init (and CLI init)
> ---------------------------------------------------------------------
>                 Key: HIVE-11657
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Critical
>         Attachments: HIVE-11657.patch
> HIVE-2573 introduced static reload functions call.
> It has a few problems:
> 1) When metastore client is initialized using an externally supplied config (i.e. Hive.get(HiveConf)),
it still gets called during static init using the main service config. In my case, even though
I have uris in the supplied config to connect to remote MS (which eventually happens), the
static call creates objectstore, which is undesirable.
> 2) It breaks compat - old metastores do not support this call so new clients will fail,
and there's no workaround like not using a new feature because the static call is always made

This message was sent by Atlassian JIRA

View raw message