HBASE-4860 RegionSplitter Should Allow NSFRE during logical split verification
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210699 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
806ccf03dd
commit
9498f9baf3
|
@ -638,8 +638,15 @@ public class RegionSplitter {
|
|||
byte[] split = region.getSecond();
|
||||
|
||||
// see if the new split daughter region has come online
|
||||
HRegionInfo dri = table.getRegionLocation(split).getRegionInfo();
|
||||
if (dri.isOffline() || !Bytes.equals(dri.getStartKey(), split)) {
|
||||
try {
|
||||
HRegionInfo dri = table.getRegionLocation(split).getRegionInfo();
|
||||
if (dri.isOffline() || !Bytes.equals(dri.getStartKey(), split)) {
|
||||
logicalSplitting.add(region);
|
||||
continue;
|
||||
}
|
||||
} catch (NoServerForRegionException nsfre) {
|
||||
// NSFRE will occur if the old META entry has no server assigned
|
||||
LOG.info(nsfre);
|
||||
logicalSplitting.add(region);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue