[ https://issues.apache.org/jira/browse/SPARK-23759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix updated SPARK-23759: -------------------------- Description: 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 was: 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} > 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 > > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org