Description
Because of changing IPs of EC2 instances of Spark cluster event between restart of its hosts user of EC2 script may encouter problem with the script hanging on:
Waiting for all instances in cluster to enter 'ssh-ready' state..........
..as for example here: http://stackoverflow.com/questions/28002443/cluster-hangs-in-ssh-ready-state-using-spark-1-2-ec2-launch-script