Apache9 commented on code in PR #6148:
URL: https://github.com/apache/hbase/pull/6148#discussion_r1731303959


##########
hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java:
##########
@@ -620,4 +622,17 @@ static void sleepIgnoreInterrupt(int retry) {
     } catch (InterruptedException e) {
     }
   }
+
+  public static String getDataNodeInfo(Set<DatanodeInfo> datanodeInfos) {

Review Comment:
   Just declare the parameter as Collection<DatanodeInfo>, or even use 
Stream<DatanodeInfo>, so we do not lose the order when get the string 
description for an array?



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