You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2016/11/01 19:47:54 UTC

[16/50] hbase git commit: HBASE-16512 when locate meta region, we should respect the param "useCache" passed in on 0.98

HBASE-16512 when locate meta region, we should respect the param "useCache" passed in on 0.98

Signed-off-by: Andrew Purtell <ap...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/381fcdcf
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/381fcdcf
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/381fcdcf

Branch: refs/heads/0.98
Commit: 381fcdcfdfd3bac274090cacfeea7c132ba8dd1e
Parents: 99a82be
Author: chenheng <ch...@apache.org>
Authored: Mon Aug 29 15:05:36 2016 +0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Mon Aug 29 09:16:49 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/client/HConnectionManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/381fcdcf/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
index f7c0843..059ce58 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
@@ -1299,7 +1299,7 @@ public class HConnectionManager {
         HRegionLocation metaLocation = null;
         try {
           // locate the meta region
-          metaLocation = locateRegion(parentTable, metaKey, true, false);
+          metaLocation = locateRegion(parentTable, metaKey, useCache, retry);
           // If null still, go around again.
           if (metaLocation == null) continue;
           ClientService.BlockingInterface service = getClient(metaLocation.getServerName());