From ced25a2b552b1454500299c2586c9ce1f4ed64ad Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Wed, 2 Apr 2014 23:15:35 +0000 Subject: [PATCH] Updating script for admin scripts moving to sbin --- spark_ec2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spark_ec2.py b/spark_ec2.py index 4d8d9cd..d63cdd1 100755 --- a/spark_ec2.py +++ b/spark_ec2.py @@ -729,8 +729,8 @@ def wait_for_spark_cluster(master_nodes, opts): count = 0 while err != 0 and count < 10: # try to restart spark - ssh(master, opts, '/root/spark/bin/stop-all.sh') - ssh(master, opts, '/root/spark/bin/start-all.sh') + ssh(master, opts, '/root/spark/sbin/stop-all.sh') + ssh(master, opts, '/root/spark/sbin/start-all.sh') time.sleep(5) err = check_spark_cluster(master_nodes, opts) count = count + 1