You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "MIkhail Osckin (JIRA)" <ji...@apache.org> on 2017/11/10 14:01:00 UTC

[jira] [Updated] (SPARK-22492) Spark master web ui server in standalone mode do not honor host option

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

MIkhail Osckin updated SPARK-22492:
-----------------------------------
    Description: 
I want to run spark in standalone mode on localhost only. I set 

export SPARK_LOCAL_IP=localhost
export SPARK_MASTER_HOST=localhost

in conf/spark-env.sh

then i start spark master

./sbin/spark-master.sh

I see the following line in log file:

INFO MasterWebUI: Bound MasterWebUI to localhost, and started at http://127.0.0.1:8080

but netstat tells me that jetty listen on all interfaces:

netstat -lpnt | grep 8080
tcp6       0      0 :::8080                 :::*                    LISTEN      20826/java 


  was:
I want to run spark in standalone mode on localhost only. I set 

{code:sh}
export SPARK_LOCAL_IP=localhost
export SPARK_MASTER_HOST=localhost
{code}

in conf/spark-env.sh

then i start spark master

{code:sh}
./sbin/spark-master.sh
{code}

I see the following line in log file:
{code:sh}
INFO MasterWebUI: Bound MasterWebUI to localhost, and started at http://127.0.0.1:8080
{code}

but netstat tells me that jetty listen on all interfaces:

{code:sh}
netstat -lpnt | grep 8080
tcp6       0      0 :::8080                 :::*                    LISTEN      20826/java 
{code}


> Spark master web ui server in standalone mode do not honor host option
> ----------------------------------------------------------------------
>
>                 Key: SPARK-22492
>                 URL: https://issues.apache.org/jira/browse/SPARK-22492
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy
>    Affects Versions: 2.2.0
>            Reporter: MIkhail Osckin
>            Priority: Minor
>
> I want to run spark in standalone mode on localhost only. I set 
> export SPARK_LOCAL_IP=localhost
> export SPARK_MASTER_HOST=localhost
> in conf/spark-env.sh
> then i start spark master
> ./sbin/spark-master.sh
> I see the following line in log file:
> INFO MasterWebUI: Bound MasterWebUI to localhost, and started at http://127.0.0.1:8080
> but netstat tells me that jetty listen on all interfaces:
> netstat -lpnt | grep 8080
> tcp6       0      0 :::8080                 :::*                    LISTEN      20826/java 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org