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 15:58:24 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 9f96d91b2 -> d6c5e5f37


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

Branch: refs/heads/master
Commit: d6c5e5f3749b265bd1ec44bb4683a63e9d058ed7
Parents: 9f96d91
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:57:50 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/d6c5e5f3/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