GitHub user jasonliaoxiaoge opened a pull request:

    https://github.com/apache/hive/pull/60

    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 trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/60.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 #60
    
----
commit 2316ca91018f6ef49dd0a0db1c61bc63fce1754f
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-19T19:15:13Z

    HIVE-9154: Cache pathToPartitionInfo in context aware record reader (Chao 
via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1646831 
13f79535-47bb-0310-9956-ffa450edef68

commit d3029980a9e01bdb4aac11c0e7a73848a3faaef0
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-19T19:17:36Z

    HIVE-9088: Spark counter serialization error in spark.log [Spark Branch] 
(Chengxiang via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1646833 
13f79535-47bb-0310-9956-ffa450edef68

commit 9320b831df5b398754582b6f65e902413cd68226
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-19T19:19:29Z

    HIVE-9154: Cache pathToPartitionInfo in context aware record reader (Chao 
via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1646835 
13f79535-47bb-0310-9956-ffa450edef68

commit 4910893ce2d95954705436fdaf7a0873b6ebedd5
Author: Prasanth J <prasan...@apache.org>
Date:   2014-12-19T19:22:20Z

    HIVE-9166: Place an upper bound for SARG CNF conversion (Prasanth 
Jayachandran reviewed by Owen O'Malley)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1646836 
13f79535-47bb-0310-9956-ffa450edef68

commit f13a697ec4bcaae4804d2cf79b82cafcee984010
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-19T21:41:36Z

    HIVE-9164: Profile query compiler #2 [Spark Branch] (Chao via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1646883 
13f79535-47bb-0310-9956-ffa450edef68

commit 41837cafaddacaa81718dd0e83c5f63c547ae735
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-20T14:48:48Z

    HIVE-9177: Fix child operator references after NonBlockingOpDeDupProc (II) 
(Szehon via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1646994 
13f79535-47bb-0310-9956-ffa450edef68

commit f6d716642f25920a0a29a612dd4101b69f626715
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-20T14:50:56Z

    HIVE-9177: Fix child operator references after NonBlockingOpDeDupProc (II) 
(Szehon via Xuefu)
    merged from trunk, r1646994
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1646995 
13f79535-47bb-0310-9956-ffa450edef68

commit b994c37a3e143704d04faec936728f67a83cacbe
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-20T14:55:13Z

    HIVE-8640: Support hints of SMBJoin [Spark Branch] (Szehon via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1646998 
13f79535-47bb-0310-9956-ffa450edef68

commit c2b7d141f308001a04808fb5bac80d121333a280
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-22T15:37:41Z

    revert HIVE-9154: Cache pathToPartitionInfo in context aware record reader 
(Chao via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647333 
13f79535-47bb-0310-9956-ffa450edef68

commit 0dbcf0c492e4fe5e3c9780c7f90f571382165160
Author: Eugene Koifman <ekoif...@apache.org>
Date:   2014-12-22T19:06:57Z

    HIVE-9155 HIVE_LOCKS uses int instead of bigint 
hive-txn-schema-0.14.0.mssql.sql (Reviewed by Alan Gates)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647379 
13f79535-47bb-0310-9956-ffa450edef68

commit 3c06af1822fb070cf183f3e625322e2615a324b1
Author: Szehon Ho <sze...@apache.org>
Date:   2014-12-22T19:49:05Z

    HIVE-9173 : Fix auto_join29.q, auto_join_without_localtask.q determinism 
(Jimmy Xiang via Szehon)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647389 
13f79535-47bb-0310-9956-ffa450edef68

commit af2c50898d571f39b43166759fd4e802bd41da4c
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-22T22:12:55Z

    revert HIVE-9154: Cache pathToPartitionInfo in context aware record reader 
(Chao via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1647423 
13f79535-47bb-0310-9956-ffa450edef68

commit 000df622acbe9519d763db4e156308af7b4194de
Author: Szehon Ho <sze...@apache.org>
Date:   2014-12-23T01:33:55Z

    HIVE-9173 : Fix auto_join29.q, auto_join_without_localtask.q determinism 
(Jimmy Xiang via Szehon)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1647464 
13f79535-47bb-0310-9956-ffa450edef68

commit 78462e482b16fc4d939b74fe09c58ebdef3c9dc3
Author: Brock Noland <br...@apache.org>
Date:   2014-12-23T15:41:29Z

    HIVE-9120 - Hive Query log does not work when hive.exec.parallel is true 
(Dong Chen via Brock)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647595 
13f79535-47bb-0310-9956-ffa450edef68

commit 366877ba0462d0e79598872d9c96662be0f027a2
Author: Brock Noland <br...@apache.org>
Date:   2014-12-23T15:44:50Z

    HIVE-9176 - Delegation token interval should be configurable in 
HadoopThriftAuthBridge (Brock reviewed by Prasad)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647597 
13f79535-47bb-0310-9956-ffa450edef68

commit b22efa24302923d91d5fe88801c70dd168256e23
Author: Brock Noland <br...@apache.org>
Date:   2014-12-23T16:02:47Z

    HIVE-8773 - Fix TestWebHCatE2e#getStatus for Java8 (Mohit Sabharwal via 
Brock)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647603 
13f79535-47bb-0310-9956-ffa450edef68

commit 91fe87959199d1fdd00fa45180628cd7fbbdac46
Author: Prasanth J <prasan...@apache.org>
Date:   2014-12-23T19:21:30Z

    HIVE-9197: fix lvj_mapjoin.q diff in trunk (Prasanth Jayachandran reviewed 
by Ashutosh Chauhan)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647652 
13f79535-47bb-0310-9956-ffa450edef68

commit 1fd4e3d47b1515d91e223cb228d0eebf1acb8c09
Author: Szehon Ho <sze...@apache.org>
Date:   2014-12-23T19:25:43Z

    HIVE-8613 : percentile_approx raise a comparator error (Nicolas Lalevée 
and Navis, via Szehon)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647653 
13f79535-47bb-0310-9956-ffa450edef68

commit 75a968c3ec55e31cc8f4b3d9664af5503a6cb090
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-23T22:58:36Z

    HIVE-9202: Choose Kryo as the serializer for pTest [Spark Branch]
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1647694 
13f79535-47bb-0310-9956-ffa450edef68

commit d4d1c718c6e8a459468315803034235c4917f164
Author: Prasanth J <prasan...@apache.org>
Date:   2014-12-24T01:23:24Z

    HIVE-9168: Vectorized Coalesce for strings is broken (Matt McCline via 
Prasanth Jayachandran)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647709 
13f79535-47bb-0310-9956-ffa450edef68

commit 8df38987b50ae9d9611569e74104603bdf540a41
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-24T05:06:08Z

    HIVE-9207: Add more log information for debug RSC[Spark Branch] (Chengxiang 
via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1647730 
13f79535-47bb-0310-9956-ffa450edef68

commit 4a6f839d558f0a1f7b9cb669f3520c406ef52c4f
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-24T05:15:48Z

    HIVE-9209: Spark branch compile failed on hadoop-1[Spark Branch] 
(Chengxiang via Xuefu)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1647732 
13f79535-47bb-0310-9956-ffa450edef68

commit 01985ac1311b12e28082c9968a93d2c2e0ca3c30
Author: Prasad Suresh Mujumdar <pras...@apache.org>
Date:   2014-12-24T09:29:36Z

    HIVE-8938: Compiler should save the transform URI as input entity. (Prasad 
Mujumdar, reviewed by Brock Noland)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647753 
13f79535-47bb-0310-9956-ffa450edef68

commit 9d513ee71ec7ed3ac6435bb5fba85a980e0316c0
Author: Brock Noland <br...@apache.org>
Date:   2014-12-24T14:30:00Z

    HIVE-9161 - Fix ordering differences on UDF functions due to Java8 (Sergio 
Peña via Brock)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647793 
13f79535-47bb-0310-9956-ffa450edef68

commit 79a51e2729d4b6722cb6375fbfba57c652adfb34
Author: Brock Noland <br...@apache.org>
Date:   2014-12-24T14:33:00Z

    HIVE-9193 - Fix ordering differences due to Java 8 (Part 3) (Mohit 
Sabharwal via Brock)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647794 
13f79535-47bb-0310-9956-ffa450edef68

commit d8e07e2cd0835d6f228414a95005a7d27ace91bd
Author: Brock Noland <br...@apache.org>
Date:   2014-12-24T14:34:31Z

    HIVE-9181 - Fix SkewJoinOptimizer related Java 8 ordering differences 
(Mohit Sabharwal via Brock)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647796 
13f79535-47bb-0310-9956-ffa450edef68

commit 68bc618bf0b1fd3839c3c52c2103b58719b3cb81
Author: Xuefu Zhang <xu...@apache.org>
Date:   2014-12-24T22:39:47Z

    HIVE-9199: Excessive exclusive lock used in some DDLs with DummyTxnManager 
(Chaoyu via Xuefu, reviewed by Alan)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647855 
13f79535-47bb-0310-9956-ffa450edef68

commit 6b3a72e67ee9aea30d1d773dc651e46e90730f89
Author: Brock Noland <br...@apache.org>
Date:   2014-12-25T18:06:30Z

    HIVE-9206 - Fix Desc Formatted related Java 8 ordering differences (Mohit 
Sabharwal via Brock)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1647912 
13f79535-47bb-0310-9956-ffa450edef68

commit 4e1c6470a0d568b238422346ff51e2aee1e04398
Author: Brock Noland <br...@apache.org>
Date:   2014-12-29T02:12:18Z

    HIVE-9157 - Merge from trunk to spark 12/26/2014 [Spark Branch] (Initial 
Merge)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1648279 
13f79535-47bb-0310-9956-ffa450edef68

commit ec0669e7d35fb67c979d187b3b8306e427debeff
Author: Brock Noland <br...@apache.org>
Date:   2014-12-29T02:13:57Z

    HIVE-9157 - Merge from trunk to spark 12/26/2014 [Spark Branch] (Post Merge 
Fixes)
    
    git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1648280 
13f79535-47bb-0310-9956-ffa450edef68

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to