You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jakob Odersky (JIRA)" <ji...@apache.org> on 2016/01/08 00:46:39 UTC

[jira] [Commented] (SPARK-4257) Spark master can only be accessed by hostname

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org