Merge pull request #599 from JoshRosen/spark-670
Fix SPARK-670: EC2 'start' command should require -i option.
This commit is contained in:
commit
42bbe89f04
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue