hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihang Karajgaonkar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17469) The HiveMetaStoreClient should randomize the connection to HMS HA
Date Wed, 06 Sep 2017 22:17:00 GMT

    [ 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)

Mime
View raw message