cloud-fan commented on code in PR #36961:
URL: https://github.com/apache/spark/pull/36961#discussion_r954434975


##########
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala:
##########
@@ -1189,6 +1189,7 @@ abstract class HiveThriftServer2TestBase extends 
SparkFunSuite with BeforeAndAft
   protected val startScript = 
"../../sbin/start-thriftserver.sh".split("/").mkString(File.separator)
   protected val stopScript = 
"../../sbin/stop-thriftserver.sh".split("/").mkString(File.separator)
 
+  val localhost = Utils.localHostNameForURI()

Review Comment:
   Shall we use `Utils.localCanonicalHostName` as 
https://github.com/apache/spark/pull/37377 suggested?



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