[ 
https://issues.apache.org/jira/browse/SPARK-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272597#comment-14272597
 ] 

Nicholas Chammas commented on SPARK-1555:
-----------------------------------------

[~joshrosen]'s workaround is precisely what I use when I want to destroy a 
cluster non-interactively, but it might be worth eventually adding an 
{{--assume-yes}} option or something similar to guarantee non-interactive 
execution regardless of the requested action.

> enable ec2/spark_ec2.py to stop/delete cluster non-interactively
> ----------------------------------------------------------------
>
>                 Key: SPARK-1555
>                 URL: https://issues.apache.org/jira/browse/SPARK-1555
>             Project: Spark
>          Issue Type: Improvement
>          Components: EC2
>    Affects Versions: 0.9.0
>            Reporter: Art Peel
>            Priority: Minor
>
> Currently ec2/spark_ec2.py asks for user input to confirm a request to 
> stop/delete the cluster.
> This prevents non-interactive use of the script.
> Please add --assume-yes option with this behavior:
> a. It defaults to false so the current behavior is maintained by default.
> b. If set to true, the script does not ask for user input and instead assumes 
> the answer is 'y'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to