hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nemon Lou (JIRA)" <>
Subject [jira] [Commented] (HIVE-10815) Let HiveMetaStoreClient Choose MetaStore Randomly
Date Mon, 08 Jun 2015 08:07:00 GMT


Nemon Lou commented on HIVE-10815:

[~thiruvel]   Thanks for reply.
I find that only the first time connect use the fixed order.
There is already a mechanism that promote random Metastore URI when reconnect.
(See promoteRandomMetaStoreURI() in reconnect method for detail.)
So shuffle at the creation phase is enough to make different client connect to different Metastore.

> Let HiveMetaStoreClient Choose MetaStore Randomly
> -------------------------------------------------
>                 Key: HIVE-10815
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2, Metastore
>    Affects Versions: 1.2.0
>            Reporter: Nemon Lou
>            Assignee: Nemon Lou
>         Attachments: 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

View raw message