[
https://issues.apache.org/jira/browse/SPARK-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016592#comment-14016592
]
Chen Chao edited comment on SPARK-2000 at 6/3/14 3:11 PM:
----------------------------------------------------------
just run spark-shell in standalone model on one the of cluster node without
--master option, and you will find it will not connect to cluster. According to
the document and previous editions, it normally should connect to the cluster
even though there's no --master option.
please refer to http://spark.apache.org/docs/latest/spark-standalone.html
"Note that if you are running spark-shell from one of the spark cluster
machines, the bin/spark-shell script will automatically set MASTER from the
SPARK_MASTER_IP and SPARK_MASTER_PORT variables in conf/spark-env.sh."
was (Author: crazyjvm):
just run spark-shell in standalone model on one the of cluster node, and you
will find it will not connect to cluster.
please refer to http://spark.apache.org/docs/latest/spark-standalone.html
"Note that if you are running spark-shell from one of the spark cluster
machines, the bin/spark-shell script will automatically set MASTER from the
SPARK_MASTER_IP and SPARK_MASTER_PORT variables in conf/spark-env.sh."
> cannot connect to cluster in Standalone mode when run spark-shell in one of
> the cluster node without specify master
> -------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-2000
> URL: https://issues.apache.org/jira/browse/SPARK-2000
> Project: Spark
> Issue Type: Bug
> Components: Deploy
> Affects Versions: 1.0.0
> Reporter: Chen Chao
> Labels: shell
>
> cannot connect to cluster in Standalone mode when run spark-shell in one of
> the cluster node.
--
This message was sent by Atlassian JIRA
(v6.2#6252)