RETIRED, further work has moved to Debian project infrastructure
f0325c4643
We use launch_command script to run Spark and Storm jobs on the guest. Sometimes like in case of the Spark Shell job for the proper job execution we need to set environment parameters on the guest before running the job. launch_command is using the subprocess module to run the command. subprocess.Popen is already supporting environment variables through the "env" parameter, so all we have to do is populate this variable if needed. This patch proposes to use the same format to transfer environment variables to the command we use when running a shell script: FILE="a" DIR="b" test.sh In this case launch_command will parse a command line, separate environment variables FILE and DIR from the command and send them to Popen using the "env" parameter. Change-Id: If110f00e95f0479b12e2d26cc30e9cbe4513e361 |
||
---|---|---|
devstack | ||
doc/source | ||
etc | ||
sahara | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
bandit.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements-bandit.txt | ||
test-requirements.txt | ||
tox.ini |
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