nchammas / flintrock

A command-line tool for launching Apache Spark clusters.
Apache License 2.0
637 stars 116 forks source link

Assume yes option for failed cluster creation #281

Closed gnsiva closed 5 years ago

gnsiva commented 5 years ago

Thanks for your hard work, flintrock is an awesome tool :)

I make quite a lot of clusters (often scripted) and will occasionally have the startup fail, returning this message:

Do you want to terminate the 6 instances created by this operation? [Y/n]

I was hoping we could have a flag so that the cluster would be automatically terminated when the cluster doesn't come up properly, rather than asking for confirmation to kill the cluster.

nchammas commented 5 years ago

Thank you for the kind words. I appreciate them!

flintrock launch already supports an --assume-yes option, which you can see by running flintrock launch --help.

Does that not do what you want?

gnsiva commented 5 years ago

Sorry missed that!