devmadhuu commented on code in PR #4540:
URL: https://github.com/apache/ozone/pull/4540#discussion_r1174792938


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java:
##########
@@ -350,6 +352,52 @@ public static InetSocketAddress getReconAddresses(
     return NetUtils.createSocketAddr(hostname.get(), port);
   }
 
+  /**
+   * Retrieve the socket addresses of Apache Solr Server.
+   *
+   * @return Apache Solr server address
+   * @throws IllegalArgumentException If the configuration is invalid
+   */
+  public static InetSocketAddress getSolrAddress(

Review Comment:
   @sumitagrawl  Thanks for reviewing, however we have already a method for 
Recon in HDDSUtil, pls check org.apache.hadoop.hdds.HddsUtils#getReconAddresses



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