Permalink
Browse files

Addressing Matei's comment: SPARK_LOCAL_IP environment variable

  • Loading branch information...
mbautin authored and mateiz committed Nov 19, 2012
1 parent eeb093b commit edb91a3833fe10a5bf4c88abd0e00163b0766326
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/scala/spark/Utils.scala
@@ -200,7 +200,7 @@ private object Utils extends Logging {
* Get the local host's IP address in dotted-quad format (e.g. 1.2.3.4).
*/
def localIpAddress(): String = {
- val defaultIpOverride = System.getenv("SPARK_DEFAULT_LOCAL_IP")
+ val defaultIpOverride = System.getenv("SPARK_LOCAL_IP")
if (defaultIpOverride != null)
defaultIpOverride
else

0 comments on commit edb91a3

Please sign in to comment.