You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Akhil Das <ak...@sigmoidanalytics.com> on 2015/11/02 08:48:59 UTC

Re: Unable to run applications on spark in standalone cluster mode

Can you paste the contents of your spark-env.sh file? Also would be good to
have a look at the /etc/hosts file. Cannot bind to the given ip address can
be resolved if you put the hostname instead of the ip address. Also make
sure the configuration (conf directory) across your cluster have the same
contents.

Thanks
Best Regards

On Mon, Oct 26, 2015 at 10:48 AM, Rohith P <rp...@couponsinc.com>
wrote:

> No.. the ./sbin/start-master.sh --ip option did not work... It is still the
> same error
>
>
>
>
> --
> View this message in context:
> http://apache-spark-developers-list.1001551.n3.nabble.com/Unable-to-run-applications-on-spark-in-standalone-cluster-mode-tp14683p14779.html
> Sent from the Apache Spark Developers List mailing list archive at
> Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
> For additional commands, e-mail: dev-help@spark.apache.org
>
>

Re: Unable to run applications on spark in standalone cluster mode

Posted by Rohith P <rp...@couponsinc.com>.
The contents of spark-env.sh is :
SPARK_MASTER_IP=marvin.spark.ins-01
SPARK_MASTER_PORT=7077
SPARK_MASTER_WEBUI_PORT=8080
SPARK_WORKER_WEBUI_PORT=8081
SPARK_WORKER_INSTANCES=1
SPARK_LOCAL_IP=marvin.spark.ins-01



The contents of etc/hosts is 
172.28.161.33           marvin.base.ins-01              ip-172-28-161-33

172.28.161.200          marvin.cassandra.ins-01         ip-172-28-161-200
172.28.161.201          marvin.cassandra.ins-02         ip-172-28-161-201

172.28.161.138          marvin.spark.ins-01             ip-172-28-161-138
172.28.161.139          marvin.spark.ins-02             ip-172-28-161-139
172.28.161.140          marvin.spark.ins-03             ip-172-28-161-140
172.28.161.141          marvin.spark.ins-04             ip-172-28-161-141





--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Unable-to-run-applications-on-spark-in-standalone-cluster-mode-tp14683p14871.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org