sreejasahithi commented on code in PR #11132:
URL: https://github.com/apache/ozone/pull/11132#discussion_r3895666258


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/HddsServerUtil.java:
##########
@@ -926,12 +924,11 @@ public static Collection<HostAndPort> 
getSCMAddressForDatanodes(ConfigurationSou
    * Null if there is any wrongly configured SCM address. Note that the 
returned collection
    * might not be ordered the same way as the requested SCM node IDs
    */
-  public static Collection<Pair<String, HostAndPort>> 
getSCMAddressForDatanodes(
+  public static Collection<ScmNodeAddress> getSCMAddressForDatanodes(

Review Comment:
   instead of `Collection<ScmNodeAddress> `we can make it as` 
List<ScmNodeAddress>`
   Similarly update in other locations.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to