Indeed, many thanks Michal for the help.

On Tue, Apr 28, 2015 at 2:20 PM, michal.klo...@gmail.com <
michal.klo...@gmail.com> wrote:

> According to the docs it should go like this:
> spark://host1:port1,host2:port2
>
>
>
> https://spark.apache.org/docs/latest/spark-standalone.html#standby-masters-with-zookeeper
>
> Thanks
> M
>
>
> On Apr 28, 2015, at 8:13 AM, James King <jakwebin...@gmail.com> wrote:
>
> I have multiple masters running and I'm trying to submit an application
> using
>
> spark-1.3.0-bin-hadoop2.4/bin/spark-submit
>
> with this config (i.e. a comma separated list of master urls)
>
>                       --master spark://master01:7077,spark://master02:7077
>
>
> But getting this exception
>
> Exception in thread "main" org.apache.spark.SparkException: Invalid master
> URL: spark://spark://master02:7077
>
>
> What am I doing wrong?
>
> Many Thanks
> jk
>
>

Reply via email to