You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiezhou (JIRA)" <ji...@apache.org> on 2014/11/07 06:56:33 UTC
[jira] [Comment Edited] (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=14201658#comment-14201658 ]
jiezhou edited comment on SPARK-4257 at 11/7/14 5:56 AM:
---------------------------------------------------------
In start-master.sh, the SPARK_MASTER_IP's default value is empty string, so it is set `hostname`.
And only if SPARK_MASTER_IP is explicitly set to "IP" in advance in the configuration file like conf/spark-env.sh, the spark shell can connect to standalone master by spark://IP:7077.
was (Author: jiezhou):
In start-master.sh, the SPARK_MASTER_IP's default value is empty string, so it is set `hostname`.
And only if SPARK_MASTER_IP is explicitly set in advance in configuration file like conf/spark-env.sh, the spark shell can connect to standalone master by spark://IP:7077.
> 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