Repository: hbase
Updated Branches:
  refs/heads/branch-1 67fe516ec -> 807fcfd22


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/807fcfd2
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/807fcfd2
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/807fcfd2

Branch: refs/heads/branch-1
Commit: 807fcfd22f7a531aad0059859853626ac8f1530c
Parents: 67fe516
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:35:22 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/807fcfd2/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 2a5ae55..ce9ca70 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) +

Reply via email to