From 807fcfd22f7a531aad0059859853626ac8f1530c Mon Sep 17 00:00:00 2001 From: Abhishek Singh Chouhan Date: Thu, 9 Feb 2017 15:31:18 +0530 Subject: [PATCH] HBASE-17616 Incorrect actions performed by CM Signed-off-by: tedyu --- .../java/org/apache/hadoop/hbase/DistributedHBaseCluster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2a5ae555ad5..ce9ca70efac 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) +