[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 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 Authored: Mon Aug 29 15:05:36 2016 +0800 Committer: Andrew Purtell 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());
hbase git commit: HBASE-16512 when locate meta region, we should respect the param "useCache" passed in on 0.98
Repository: hbase Updated Branches: refs/heads/0.98 99a82bebd -> 381fcdcfd HBASE-16512 when locate meta region, we should respect the param "useCache" passed in on 0.98 Signed-off-by: Andrew Purtell 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 Authored: Mon Aug 29 15:05:36 2016 +0800 Committer: Andrew Purtell 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());