RETIRED, Sahara provides a scalable data processing stack and associated management interfaces.
Go to file
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
doc/source Added validate_edp method to Plugin SPI doc 2014-06-03 14:20:18 +04:00
etc Avoid deleting transient cluster before job is started 2014-06-24 14:19:44 +00:00
sahara Avoid deleting transient cluster before job is started 2014-06-24 14:19:44 +00:00
tools Missed renames in code base 2014-03-21 10:57:55 -04:00
.coveragerc Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
.gitignore Renaming files with savanna words in its names 2014-03-19 23:42:18 +04:00
.gitreview Opening stable/icehouse 2014-04-17 16:18:39 +02:00
.mailmap Adding Denny Zhang to AUTHORS 2013-10-07 19:40:35 +04:00
.pylintrc Change 'savanna' references in tools 2014-03-19 15:59:50 -04:00
.testr.conf Launch integration tests with testr 2013-12-13 15:57:04 +04:00
CONTRIBUTING.rst Change savanna references in top level docs 2014-03-20 15:21:35 -04:00
HACKING.rst Change savanna references in top level docs 2014-03-20 15:21:35 -04:00
LICENSE copyright has been added 2013-03-11 10:30:40 +04:00
MANIFEST.in correcting the MANIFEST.in paths 2014-05-07 15:26:58 +00:00
README.rst Standardize README header 2014-03-29 14:12:44 +00:00
babel.cfg First steps for i18n support 2013-08-26 22:16:45 +04:00
openstack-common.conf Change remaining savanna namespaces in setup.cfg 2014-03-19 16:49:49 -04:00
requirements.txt Updated from global requirements 2014-05-22 18:13:01 +00:00
run_tests.sh Fixup 'savanna' references in run_tests.sh 2014-03-20 16:52:42 -04:00
setup.cfg Opening stable/icehouse for next stable release 2014-06-10 16:46:32 +04:00
setup.py Remove version pbr pins from setup_requires 2013-09-22 12:22:17 +04:00
test-requirements.txt Move integration tests to python-saharaclient 0.6.0 2014-03-20 14:44:33 +04:00
tox.ini Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00