aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@eecs.berkeley.edu>2013-05-05 11:30:36 -0700
committerJosh Rosen <joshrosen@eecs.berkeley.edu>2013-05-05 11:30:36 -0700
commite014c1d1cb4bd1037dc674ef474d0197267b399b (patch)
tree537fd7e20a1aa7e263972bb459eb0b5f74e69e5a /ec2
parent7af92f248bdb977383696436f76362ff94e81a21 (diff)
downloadspark-e014c1d1cb4bd1037dc674ef474d0197267b399b.tar.gz
spark-e014c1d1cb4bd1037dc674ef474d0197267b399b.tar.bz2
spark-e014c1d1cb4bd1037dc674ef474d0197267b399b.zip
Fix SPARK-670: EC2 start command should require -i option.
Diffstat (limited to 'ec2')
-rwxr-xr-xec2/spark_ec2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index 9f2daad2b6..7affe6fffc 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -103,7 +103,7 @@ def parse_args():
parser.print_help()
sys.exit(1)
(action, cluster_name) = args
- if opts.identity_file == None and action in ['launch', 'login']:
+ if opts.identity_file == None and action in ['launch', 'login', 'start']:
print >> stderr, ("ERROR: The -i or --identity-file argument is " +
"required for " + action)
sys.exit(1)