9cd9013a49
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
|
||
---|---|---|
doc/source | ||
etc | ||
sahara | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
OpenStack Data Processing ("Sahara") project
Sahara at wiki.openstack.org: https://wiki.openstack.org/wiki/Sahara
Launchpad project: https://launchpad.net/sahara
Sahara docs site: http://docs.openstack.org/developer/sahara
Roadmap: https://wiki.openstack.org/wiki/Sahara/Roadmap
Quickstart guide: http://docs.openstack.org/developer/sahara/devref/quickstart.html
How to participate: http://docs.openstack.org/developer/sahara/devref/how_to_participate.html
License
Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0