Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
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
[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 -
On earlier versions this change was working fine:
[root@dwphive1 ~]# netstat -tulapn|grep 18081 tcp 0 0 172.26.113.55:18081 0.0.0.0:* LISTEN 2565/java
This issue not only affects SHS but also Spark UI in general