[ 
https://issues.apache.org/jira/browse/SPARK-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550434#comment-14550434
 ] 

Iulian Dragos commented on SPARK-5488:
--------------------------------------

I've noticed something fishy as well, however a cursory look at the Mesos 
implementation doesn't show any foul play. It seems to go through 
`Utils.localHostName`.

> 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, Scheduler
>    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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to