HBASE-9860 Intermittent TestHBaseFsck#testMissingRegionInfoQualifier failure due to NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1537371 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0077c822f7
commit
94aa409410
|
@ -1888,7 +1888,8 @@ public class TestHBaseFsck {
|
|||
|
||||
@Override
|
||||
public boolean processRow(Result rowResult) throws IOException {
|
||||
if(!MetaScanner.getHRegionInfo(rowResult).getTable().isSystemTable()) {
|
||||
HRegionInfo hri = MetaScanner.getHRegionInfo(rowResult);
|
||||
if (hri != null && !hri.getTable().isSystemTable()) {
|
||||
Delete delete = new Delete(rowResult.getRow());
|
||||
delete.deleteColumn(HConstants.CATALOG_FAMILY, HConstants.REGIONINFO_QUALIFIER);
|
||||
deletes.add(delete);
|
||||
|
|
Loading…
Reference in New Issue