You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jacek Lewandowski (JIRA)" <ji...@apache.org> on 2016/08/29 06:13:20 UTC

[jira] [Reopened] (SPARK-13117) WebUI should use the local ip not 0.0.0.0

     [ https://issues.apache.org/jira/browse/SPARK-13117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacek Lewandowski reopened SPARK-13117:
---------------------------------------

The provided solution is wrong because it is inconsistent with the rest of Spark. 

In every other place, when we want to refer to bind address, we should use {{Utils.localHostname}} (https://github.com/apache/spark/blob/branch-2.0/core/src/main/scala/org/apache/spark/util/Utils.scala#L895) so that when people want to set it programmatically they are able to do that (https://github.com/apache/spark/blob/branch-2.0/core/src/main/scala/org/apache/spark/util/Utils.scala#L886).


> WebUI should use the local ip not 0.0.0.0
> -----------------------------------------
>
>                 Key: SPARK-13117
>                 URL: https://issues.apache.org/jira/browse/SPARK-13117
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 1.6.0
>            Reporter: Jeremiah Jordan
>            Assignee: Devaraj K
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> When SPARK_LOCAL_IP is set everything seems to correctly bind and use that IP except the WebUI.  The WebUI should use the SPARK_LOCAL_IP not always use 0.0.0.0
> https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/ui/WebUI.scala#L137



--
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