hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject [27/50] [abbrv] hbase git commit: HBASE-13663 HMaster fails to restart 'HMaster: Failed to become active master'
Date Tue, 19 May 2015 23:14:22 GMT
HBASE-13663 HMaster fails to restart 'HMaster: Failed to become active master'


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

Branch: refs/heads/hbase-11339
Commit: 89688d4a43f241a8e98d277f9cd7f1b20eaf68af
Parents: 9e131df
Author: tedyu <yuzhihong@gmail.com>
Authored: Tue May 12 09:04:56 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Tue May 12 09:04:56 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/master/AssignmentManager.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/89688d4a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
index eae9999..0fe59a6 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
@@ -1653,6 +1653,7 @@ public class AssignmentManager {
       HRegionLocation[] locations = rl.getRegionLocations();
       if (locations == null) continue;
       for (HRegionLocation hrl : locations) {
+        if (hrl == null) continue;
         HRegionInfo regionInfo = hrl.getRegionInfo();
         if (regionInfo == null) continue;
         int replicaId = regionInfo.getReplicaId();


Mime
View raw message