RETIRED, further work has moved to Debian project infrastructure
Go to file
Dmitry Mescheryakov 45cca0b272 Enhanced get_auth_token:
It can get credentials and tenant from console
It could be launched from any directory, not just project root
2013-03-12 17:37:45 +04:00
bin .mailmap has been added 2013-03-09 10:59:57 +04:00
doc/source Made note in docs that we use flavor name instead of flavor id temporarily 2013-03-12 17:24:32 +04:00
eho tenant_id has been removed from objects 2013-03-12 15:06:34 +04:00
etc default node_password has been changed 2013-03-11 19:33:14 +04:00
resources Now we use hostnames for addressing between VMs 2013-03-01 11:24:32 +04:00
tools Enhanced get_auth_token: 2013-03-12 17:37:45 +04:00
.gitignore using conf files instead of hardcoded values 2013-03-01 16:34:45 +04:00
.mailmap .mailmap has been added 2013-03-09 10:59:57 +04:00
.pylintrc pylint and pyflakes static analysis has been added 2013-02-26 00:26:29 +04:00
LICENSE copyright has been added 2013-03-11 10:30:40 +04:00
openstack-common.conf some oslo modules has been added 2013-03-11 12:45:19 +04:00
README.rst run command added to README 2013-03-12 15:05:37 +04:00
setup.py setup utils is now from oslo-incubator 2013-03-10 23:36:30 +04:00

Elastic Hadoop on OpenStack

QuickStart (Ubuntu) ----------1. Install Python with headers and virtualenv: :: apt-get install python-dev python-virtualenv

2. Prepare virtual environment: :: tools/install_venv

3. To run Python fro created environment just call: :: tools/with_venv python

4. Run PEP8 (style) and PyFlakes (static analysis) checks: :: tools/run_fast_checks

5. Build docs: :: tools/build_docs

6. Run all tests: :: tools/run_tests

7. Run EHO REST API with stub data and cluster ops on port 8080 :: .venv/bin/python bin/eho-api --reset-db --stub-data --allow-cluster-ops

Pip speedup

Add the following lines to ~/.pip/pip.conf :: [global] download-cache = /home/<username>/.pip/cache index-url = <mirror url>

Note! The ~/.pip/cache folder should be created. For Saratov location the http://mirrors.sgu.ru/pypi/simple is preferred.

Git hook for fast checks

Just add the following lines to .git/hooks/pre-commit and do chmod +x for it. :: #!/bin/sh # Run fast checks (PEP8 style check and PyFlakes fast static analysis) tools/run_fast_checks

You can added the same check for pre-push, for example, run_tests and run_pylint.

Running static analysis (PyLint)

Just run the following command :: tools/run_pylint

License

Copyright (c) 2013 Mirantis Inc.

Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0