Repository: hbase Updated Branches: refs/heads/master 489c8872c -> 06a260f10
HBASE-17616 Incorrect actions performed by CM Signed-off-by: tedyu <yuzhih...@gmail.com> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/06a260f1 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/06a260f1 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/06a260f1 Branch: refs/heads/master Commit: 06a260f107ba5ab489e7d28256ee6bc9530d3416 Parents: 489c887 Author: Abhishek Singh Chouhan <abhishekchouhan...@gmail.com> Authored: Thu Feb 9 15:31:18 2017 +0530 Committer: tedyu <yuzhih...@gmail.com> Committed: Thu Feb 9 12:34:59 2017 -0800 ---------------------------------------------------------------------- .../test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/06a260f1/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java ---------------------------------------------------------------------- diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java index 16f1e71..d35ef84 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java @@ -269,7 +269,7 @@ public class DistributedHBaseCluster extends HBaseCluster { public ServerName getServerHoldingRegion(TableName tn, byte[] regionName) throws IOException { HRegionLocation regionLoc = null; try (RegionLocator locator = connection.getRegionLocator(tn)) { - regionLoc = locator.getRegionLocation(regionName); + regionLoc = locator.getRegionLocation(regionName, true); } if (regionLoc == null) { LOG.warn("Cannot find region server holding region " + Bytes.toString(regionName) +