GitHub user jasonliaoxiaoge opened a pull request:
https://github.com/apache/hive/pull/61
shuffle the metastore uris, so the request can be balanced to metastores
Currently, HiveMetaStoreClient connect to the first metastore uri defaultly
If we have multi metastore uris. So the client only send request to the first
metastore, the metastore will be the bottleneck to process the client request.
I add the logic to shuffle metastore uris, so that the request can be
balanced to all of the metastores.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jasonliaoxiaoge/hive master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/61.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #61
----
commit bc56b2ebc53f32c22beb1874d50b6e5ec29aeb98
Author: Jason <[email protected]>
Date: 2015-12-25T10:34:53Z
shuffle the metastore uris, so the request can be balanced to metastores
Currently, HiveMetaStoreClient connect to the first metastore uri defaultly
If we have multi metastore uris. So the client only send request to the first
metastore, the metastore will be the bottleneck to process the client request.
I add the logic to shuffle metastore uris, so that the request can be
balanced to all of the metastores.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---