[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to