[
https://issues.apache.org/jira/browse/HIVE-10815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289702#comment-15289702
]
Thejas M Nair commented on HIVE-10815:
--------------------------------------
The change looks good to me.
bq. Should it be done once per process though, to minimize the number of
connections?
[~sershe] I am not sure what you mean. There is no connection pooling anyway.
With this change, you could have n connections from a process talking to x
number of metastore instead of all talking to single metastore. But I don't see
that as an issue.
> Let HiveMetaStoreClient Choose MetaStore Randomly
> -------------------------------------------------
>
> Key: HIVE-10815
> URL: https://issues.apache.org/jira/browse/HIVE-10815
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2, Metastore
> Affects Versions: 1.2.0
> Reporter: Nemon Lou
> Assignee: Nemon Lou
> Attachments: HIVE-10815.1.patch, HIVE-10815.patch
>
>
> Currently HiveMetaStoreClient using a fixed order to choose MetaStore URIs
> when multiple metastores configured.
> Choosing MetaStore Randomly will be good for load balance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)