spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hamstra <m...@clearstorydata.com>
Subject Re: java.net.ConnectException:Connection refused
Date Wed, 11 Sep 2013 00:04:26 GMT
Doesn't look like your networking is configured correctly.  An IP address
of 0.0.0.0 is typically what you will see when a machine is not connected
to a an IP network.



On Tue, Sep 10, 2013 at 4:40 PM, <lfmarques2@gmail.com> wrote:

> When I run a job in spark, it runs well but in the end it throws errors
> and java.net.ConnectException:Connection refused in both in the master and
> in the worker.
>
> I'll put here how i do it.
>
> First I run the master: ./run spark.deploy.master.Master
> Then I run the worker: ./run spark.deploy.worker.Worker spark://
> 0.0.0.0:7077 -c 2 -m 4G
> Then I run the job(WordCount from spark examples folder): mvn package; mvn
> exec:java -Dexec.mainClass="Main"
>
> In the attached zip i send this files:
>
> terminal_MASTER.txt - the output from the master terminal window.
> terminal_WORKER.txt - the output from the worker terminal window.
> terminal_JOB.txt - the output from the job terminal window.
> The WordCount job.
>
> What am i doing wrong?
>
>

Mime
View raw message