bharathv commented on a change in pull request #781: HBASE-18095:
Zookeeper-less client connection implementation
URL: https://github.com/apache/hbase/pull/781#discussion_r341877085
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java
##########
@@ -3188,6 +3188,7 @@ public static String
toLockJson(List<LockServiceProtos.LockedResource> lockedRes
}
public static HBaseProtos.RegionLocation toRegionLocation(HRegionLocation
loc) {
+ if (loc == null) return null;
Review comment:
Not really, but I think it could be null with my patch in error cases where
HMaster is not accessible (referring to
MetaRegionLocationCache#updateMetaLocation()).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services