You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vihang Karajgaonkar (JIRA)" <ji...@apache.org> on 2017/09/06 22:17:00 UTC

[jira] [Commented] (HIVE-17469) The HiveMetaStoreClient should randomize the connection to HMS HA

    [ https://issues.apache.org/jira/browse/HIVE-17469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156112#comment-16156112 ] 

Vihang Karajgaonkar commented on HIVE-17469:
--------------------------------------------

[~spena] isn't it already doing it here? https://github.com/apache/hive/blob/master/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java#L207

> The HiveMetaStoreClient should randomize the connection to HMS HA
> -----------------------------------------------------------------
>
>                 Key: HIVE-17469
>                 URL: https://issues.apache.org/jira/browse/HIVE-17469
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.1.1
>            Reporter: Sergio Peña
>
> In an environment with multiple HMS servers, the HiveMetaStoreClient class selects the 1st URI to connect on every open() connection. We should randomize that connection to help balancing the HMS servers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)