File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
core/src/main/scala/org/apache/spark Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ package object config {
253
253
private [spark] val DRIVER_HOST_ADDRESS = ConfigBuilder (" spark.driver.host" )
254
254
.doc(" Address of driver endpoints." )
255
255
.stringConf
256
- .createWithDefault(Utils .localCanonicalHostName ())
256
+ .createWithDefault(Utils .localHostName ())
257
257
258
258
private [spark] val DRIVER_BIND_ADDRESS = ConfigBuilder (" spark.driver.bindAddress" )
259
259
.doc(" Address where to bind network listen sockets on the driver." )
Original file line number Diff line number Diff line change @@ -936,13 +936,6 @@ private[spark] object Utils extends Logging {
936
936
customHostname = Some (hostname)
937
937
}
938
938
939
- /**
940
- * Get the local machine's FQDN.
941
- */
942
- def localCanonicalHostName (): String = {
943
- customHostname.getOrElse(localIpAddress.getCanonicalHostName)
944
- }
945
-
946
939
/**
947
940
* Get the local machine's hostname.
948
941
*/
You can’t perform that action at this time.
0 commit comments