your ssh connection refuse is due to not long enough wait time. your remote machine is not ready at the time, i set wait time to 500 secs, and it works
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Error-starting-EC2-cluster-tp5332p5501.html Sent from the Apache Spark User List mailing list archive at Nabble.com.