You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Eduardo Cusa <ed...@usmediaconsulting.com> on 2014/11/12 15:09:01 UTC

Java client connection

HI guys, I starting to working with spark from java and when i run the
folliwing code :


SparkConf conf = new SparkConf().setMaster("spark://10.0.2.20:7077
").setAppName("SparkTest");
JavaSparkContext sc = new JavaSparkContext(conf);


I recived the following error and the java process exit ends:


14/11/11 17:58:12 WARN client.AppClient$ClientActor: Could not connect to
akka.tcp://sparkMaster@10.0.2.20:7077:
akka.remote.EndpointAssociationException: Association failed with
[akka.tcp://sparkMaster@10.0.2.20:7077]
14/11/11 17:58:18 WARN client.AppClient$ClientActor: Could not connect to
akka.tcp://sparkMaster@10.0.2.20:7077:
akka.remote.EndpointAssociationException: Association failed with
[akka.tcp://sparkMaster@10.0.2.20:7077]
14/11/11 17:58:20 WARN client.AppClient$ClientActor: Could not connect to
akka.tcp://sparkMaster@10.0.2.20:7077:
akka.remote.EndpointAssociationException: Association failed with
[akka.tcp://sparkMaster@10.0.2.20:7077]



My spark master is run on 10.0.2.20.
>From pyspark I can work properly.


Regards
Eduardo