Description
Here is related code:
NavigableMap<byte[], byte[]> familyMap = result.getFamilyMap(Bytes.toBytes(AclHBaseStorage.ACL_ACES_FAMILY)); for (Map.Entry<byte[], byte[]> entry : familyMap.entrySet()) {
Good practice is to check whether familyMap is null / empty first.
See the following class in hbase for example:
hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaTableUtil.java