I am new to sparks and trying to install spark on an Amazon cluster with version 1.3.1. when i do
SparkConf sparkConfig = new SparkConf().setAppName("SparkSQLTest").setMaster("local[2]");
it works for me, however I found out that this is for testing purpose. I can set local [2]
When I tried to use cluster mode, I changed it to
SparkConf sparkConfig = new SparkConf().setAppName("SparkSQLTest").setMaster("spark://localhost:7077");
with this I get below error
I tried to contact an unreachable remote address [akka.tcp: // sparkMaster @localhost: 7077]. The address is now blocked for 5000 ms, all messages to this address will be delivered in dead letters. Reason: connection refused 15/06/10 15:22:21 INFO client.AppClient $ ClientActor: connection to the master akka.tcp: // sparkMaster @localhost: 7077 / user / master ..
Can someone please let me set the main url.
apache-spark amazon-emr spark-streaming
Sam
source share