HBASE-11500 Possible null pointer dereference of regionLocation in ReversedScannerCallable. (Mike Drob)
This commit is contained in:
parent
dba294576e
commit
5a408af65f
|
@ -167,7 +167,7 @@ public class ReversedScannerCallable extends ScannerCallable {
|
|||
} else {
|
||||
throw new DoNotRetryIOException("Does hbase:meta exist hole? Locating row "
|
||||
+ Bytes.toStringBinary(currentKey) + " returns incorrect region "
|
||||
+ regionLocation.getRegionInfo());
|
||||
+ (regionLocation == null ? null : regionLocation.getRegionInfo()));
|
||||
}
|
||||
currentKey = regionLocation.getRegionInfo().getEndKey();
|
||||
} while (!Bytes.equals(currentKey, HConstants.EMPTY_END_ROW)
|
||||
|
|
Loading…
Reference in New Issue