diff options
author | Josh Rosen <joshrosen@eecs.berkeley.edu> | 2013-05-05 11:30:36 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@eecs.berkeley.edu> | 2013-05-05 11:30:36 -0700 |
commit | e014c1d1cb4bd1037dc674ef474d0197267b399b (patch) | |
tree | 537fd7e20a1aa7e263972bb459eb0b5f74e69e5a | |
parent | 7af92f248bdb977383696436f76362ff94e81a21 (diff) | |
download | spark-e014c1d1cb4bd1037dc674ef474d0197267b399b.tar.gz spark-e014c1d1cb4bd1037dc674ef474d0197267b399b.tar.bz2 spark-e014c1d1cb4bd1037dc674ef474d0197267b399b.zip |
Fix SPARK-670: EC2 start command should require -i option.
-rwxr-xr-x | ec2/spark_ec2.py | 2 |
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) |