sahara/etc
Dmitry Mescheryakov 9cd9013a49 Avoid deleting transient cluster before job is started
In order to run job on a transient cluster client needs to execute
two commands:
 * create cluster with is_transient=true
 * run job on it in a regular manner

We terminate unneeded transient clusters in a periodic job, which
terminates cluster if cluster is transient and no job is running on it
at a time. We also do not terminate cluster if its lifetime is smaller
then config parameter min_transient_cluster_active_time. For some
reason the parameter is set to 0 by default, which could cause
premature cluster termination if periodic task runs between
cluster creation and job execution.

Also added unit tests to verify min_transient_cluster_active_time.

Change-Id: I5330a969ea7cd81ec2759a7fe32bab4a5de3fb4c
(cherry picked from commit 400d90da07)
2014-06-24 14:19:44 +00:00
..
rest-api-samples Renamed all swift-dependent configs to sahara 2014-03-14 14:03:54 +04:00
sahara Avoid deleting transient cluster before job is started 2014-06-24 14:19:44 +00:00