[ 
https://issues.apache.org/jira/browse/HIVE-11657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shelukhin updated HIVE-11657:
------------------------------------
    Attachment: HIVE-11657.patch

This changes the reloadFunctions call to be done once globally, but on the 
object, so that it is done after the proper config is set. 

It also improves retry logic to not retry on some non-recoverable errors, like 
a missing method.

[~gopalv] [~ashutoshc] can you take a look

> HIVE-2573 introduces some issues
> --------------------------------
>
>                 Key: HIVE-11657
>                 URL: https://issues.apache.org/jira/browse/HIVE-11657
>             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
(v6.3.4#6332)

Reply via email to