hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject git commit: HBASE-11530 RegionStates adds regions to wrong servers
Date Thu, 17 Jul 2014 16:00:21 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 94f767fcc -> 389621002


HBASE-11530 RegionStates adds regions to wrong servers


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

Branch: refs/heads/branch-1
Commit: 3896210026ade35a671aec56f55001c28923abc4
Parents: 94f767f
Author: Jimmy Xiang <jxiang@cloudera.com>
Authored: Wed Jul 16 15:17:39 2014 -0700
Committer: Jimmy Xiang <jxiang@cloudera.com>
Committed: Thu Jul 17 08:59:53 2014 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/master/RegionStates.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/38962100/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
index 9d9401e..5399a34 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
@@ -329,7 +329,7 @@ public class RegionStates {
         regionsInTransition.put(encodedName, regionState);
       }
       if (lastHost != null && newState != State.SPLIT) {
-        addToServerHoldings(serverName, hri);
+        addToServerHoldings(lastHost, hri);
       }
     }
     return regionState;


Mime
View raw message