HBASE-13663 HMaster fails to restart 'HMaster: Failed to become active master'

This commit is contained in:
tedyu 2015-05-12 09:04:56 -07:00
parent 9e131dfa8e
commit 89688d4a43
1 changed files with 1 additions and 0 deletions

View File

@ -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();