[
https://issues.apache.org/jira/browse/SPARK-23759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcelo Vanzin resolved SPARK-23759.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.3.1
2.4.0
2.2.2
Issue resolved by pull request 20883
[https://github.com/apache/spark/pull/20883]
> Unable to bind Spark UI to specific host name / IP
> --------------------------------------------------
>
> Key: SPARK-23759
> URL: https://issues.apache.org/jira/browse/SPARK-23759
> Project: Spark
> Issue Type: Bug
> Components: Spark Core, Web UI
> Affects Versions: 2.2.0
> Reporter: Felix
> Priority: Major
> Fix For: 2.2.2, 2.4.0, 2.3.1
>
>
> Ideally, exporting SPARK_LOCAL_IP=<private-interface-ip-address> in spark2
> environment should allow Spark2 History server to bind to private interface
> however this is not working in spark 2.2.0
>
> Spark2 history server still listens on 0.0.0.0
> {code:java}
> [root@sparknode1 ~]# netstat -tulapn|grep 18081
> tcp 0 0 0.0.0.0:18081 0.0.0.0:*
> LISTEN 21313/java
> tcp 0 0 172.26.104.151:39126 172.26.104.151:18081
> TIME_WAIT -
> {code}
> On earlier versions this change was working fine:
> {code:java}
> [root@dwphive1 ~]# netstat -tulapn|grep 18081
> tcp 0 0 172.26.113.55:18081 0.0.0.0:*
> LISTEN 2565/java
> {code}
>
> This issue not only affects SHS but also Spark UI in general
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]