HBASE-1523 - NPE in BaseScanner

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@784670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Rawson 2009-06-15 06:44:08 +00:00
parent 3f02e3be7a
commit 32a380b12a
2 changed files with 2 additions and 1 deletions

View File

@ -177,6 +177,7 @@ Release 0.20.0 - Unreleased
earlied-out of previous row (Jon Gray)
HBASE-1520 StoreFileScanner catches and ignore IOExceptions from HFile
HBASE-1522 We delete splits before their time occasionally
HBASE-1523 NPE in BaseScanner
IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -298,7 +298,7 @@ abstract class BaseScanner extends Chore implements HConstants {
throws IOException {
boolean result = false;
HRegionInfo split =
Writables.getHRegionInfo(rowContent.getValue(splitFamily, splitQualifier));
Writables.getHRegionInfoOrNull(rowContent.getValue(splitFamily, splitQualifier));
if (split == null) {
return result;
}