[ 
https://issues.apache.org/jira/browse/SPARK-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15088405#comment-15088405
 ] 

Jakob Odersky commented on SPARK-4257:
--------------------------------------

The way I interpret the documentation {{-h HOST, --host HOST    Hostname to 
listen on}} requires a hostNAME whereas SPARK_MASTER_IP is the actual ip (of 
the hostname).
Although the documentation is somewhat ambiguous, I think what you are 
experiencing is expected behavior.

> Spark master can only be accessed by hostname
> ---------------------------------------------
>
>                 Key: SPARK-4257
>                 URL: https://issues.apache.org/jira/browse/SPARK-4257
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.2.0
>            Reporter: Davies Liu
>            Priority: Critical
>
> After sbin/start-all.sh, the spark shell can not connect to standalone master 
> by spark://IP:7077, it works if replace IP by hostname.
> In the docs[1], it says use `spark://IP:PORT` to connect to master.
> [1] http://spark.apache.org/docs/latest/spark-standalone.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to