We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fddc94 commit 85045b6Copy full SHA for 85045b6
core/src/main/scala/org/apache/spark/util/Utils.scala
@@ -701,7 +701,7 @@ private[spark] object Utils extends Logging {
701
}
702
703
704
- private var customHostname: Option[String] = None
+ private var customHostname: Option[String] = sys.env.get("SPARK_LOCAL_HOSTNAME")
705
706
/**
707
* Allow setting a custom host name because when we run on Mesos we need to use the same
0 commit comments