prashantwason commented on code in PR #8724:
URL: https://github.com/apache/hudi/pull/8724#discussion_r1203459158


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/embedded/EmbeddedTimelineService.java:
##########
@@ -112,7 +112,7 @@ private void setHostAddr(String 
embeddedTimelineServiceHostAddr) {
       this.hostAddr = embeddedTimelineServiceHostAddr;
     } else {
       LOG.warn("Unable to find driver bind address from spark config");
-      this.hostAddr = NetworkUtils.getHostname();
+      this.hostAddr = NetworkUtils.getHostAddr();

Review Comment:
   The NetworkUtils.getHostname function is returning the IP address. So 
renamed it to getHostAddr which is more appropriate.



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

Reply via email to