byte[] locationValue = r.getValue(FConstants.CATALOG_FAMILY,
FConstants.EGLOCATION);
EntityGroupInfo key = EntityGroupInfo.parseFromOrNull(infoValue);
ServerName value = ServerName.convert(locationValue);
assertEquals(key.compareTo(egis.get(0)), 0);
assertEquals(value.compareTo(egLocations[0]), 0);
}
// getTableEntityGroupsAndLocations
List<Pair<EntityGroupInfo, ServerName>> entityGroupInfos = fMetaService
.getTableEntityGroupsAndLocations(Bytes.toBytes(tableName), false);