hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [3/3] hbase git commit: HBASE-17616 Incorrect actions performed by CM
Date Thu, 09 Feb 2017 23:11:10 GMT
HBASE-17616 Incorrect actions performed by CM

Signed-off-by: tedyu <yuzhihong@gmail.com>


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

Branch: refs/heads/branch-1.1
Commit: 3e28384b47eb41f12f7a483ac4442633030a7b23
Parents: a8158b5
Author: Abhishek Singh Chouhan <abhishekchouhan121@gmail.com>
Authored: Thu Feb 9 15:31:18 2017 +0530
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu Feb 9 15:10:01 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/3e28384b/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) +


Mime
View raw message