You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Martin Tapp (JIRA)" <ji...@apache.org> on 2015/01/29 22:03:34 UTC

[jira] [Created] (SPARK-5488) SPARK_LOCAL_IP not read by mesos scheduler

Martin Tapp created SPARK-5488:
----------------------------------

             Summary: SPARK_LOCAL_IP not read by mesos scheduler
                 Key: SPARK-5488
                 URL: https://issues.apache.org/jira/browse/SPARK-5488
             Project: Spark
          Issue Type: Bug
          Components: Mesos
    Affects Versions: 1.1.1
            Reporter: Martin Tapp
            Priority: Minor


My environment sets SPARK_LOCAL_IP and my driver sees it. But mesos sees the one from my first available network adapter.

I can even see that SPARK_LOCAL_IP is read correctly by Utils.localHostName and Utils.localIpAddress (core/src/main/scala/org/apache/spark/util/Utils.scala). Seems spark mesos framework doesn't use it.

Work around for now is to disable my first adapter such that the second one becomes the one seen by Spark.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org