[ https://issues.apache.org/jira/browse/HIVE-18449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329951#comment-16329951 ]
Thejas M Nair commented on HIVE-18449: -------------------------------------- I see the value of the metastore selection policy to temporarily workaround some bugs like one you mentioned. As you pointed out this patch is a different use case from HIVE-18347. HIVE-18347 is about how to retrieve the list of metastore uris, and this one is about how to pick one from the list. I think it makes sense to address both separately with different knobs. > 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)