Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.1.4
-
None
-
None
Description
In hbase-client model the class "org.apache.hadoop.hbase.MetaTableAccessor"'s method getRegionInfo(final Result r, byte [] qualifier),A "NullPointerException" could be thrown; "r" is nullable here.
@Nullable private static RegionInfo getRegionInfo(final Result r, byte [] qualifier) { Cell cell = r.getColumnLatestCell(getCatalogFamily(), qualifier); if (cell == null) return null; return RegionInfo.parseFromOrNull(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()); }
Attachments
Attachments
Issue Links
- links to