You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/12/13 23:23:13 UTC

[jira] [Commented] (SPARK-1555) enable ec2/spark_ec2.py to stop/delete cluster non-interactively

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

Josh Rosen commented on SPARK-1555:
-----------------------------------

Why not use the {{yes}} unix utility for this?

{code}
yes | ./bin/spark-ec2 stop [...]
{code}

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org