ndimiduk commented on code in PR #6473:
URL: https://github.com/apache/hbase/pull/6473#discussion_r1844411138


##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncRegionLocator.java:
##########
@@ -125,13 +125,13 @@ private static List<String> 
getRegionNames(RegionLocations locs) {
       return Collections.emptyList();
     }
     return Arrays.stream(locs.getRegionLocations()).filter(Objects::nonNull)
-      .map(HRegionLocation::getRegion).map(RegionInfo::getRegionNameAsString)
+      .map(HRegionLocation::getRegion).map(RegionInfo::getEncodedName)
       .collect(Collectors.toList());
   }
 
   private static List<String> getRegionNames(HRegionLocation location) {

Review Comment:
   Please also rename the methods to reflect the new value.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to