dongjoon-hyun commented on code in PR #42999: URL: https://github.com/apache/spark/pull/42999#discussion_r1330789111
########## core/src/main/scala/org/apache/spark/util/Utils.scala: ########## @@ -1013,7 +1013,7 @@ private[spark] object Utils * In case of IPv6, getHostAddress may return '0:0:0:0:0:0:0:1'. */ def localHostName(): String = { - addBracketsIfNeeded(customHostname.getOrElse(localIpAddress.getHostAddress)) + addBracketsIfNeeded(customHostname.getOrElse(localIpAddress.getHostName)) Review Comment: This looks irrelevant to me. Why do you change this? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org