[
https://issues.apache.org/jira/browse/HIVE-18449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329797#comment-16329797
]
Sahil Takiar commented on HIVE-18449:
-------------------------------------
Yes, active-active is better for loading balancing. However, there have been
issues with running multiple HMS instances against a single backend DB, mainly
due to issue with event notifications that systems like Sentry rely on. For
example, duplicate event ids or event ids that are out of order.
> Add configurable policy for choosing the HMS URI from hive.metastore.uris
> -------------------------------------------------------------------------
>
> Key: HIVE-18449
> URL: https://issues.apache.org/jira/browse/HIVE-18449
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Reporter: Sahil Takiar
> Assignee: Janaki Lahorani
> Priority: Major
>
> HIVE-10815 added logic to randomly choose a HMS URI from
> {{hive.metastore.uris}}. It would be nice if there was a configurable policy
> that determined how a URI is chosen from this list - e.g. one option can be
> to randomly pick a URI, another option can be to choose the first URI in the
> list (which was the behavior prior to HIVE-10815).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)