Last active
July 18, 2018 20:47
-
-
Save dbist/1d03c79488efc05ff187ff79878685bb to your computer and use it in GitHub Desktop.
install Airflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo easy_install pip | |
| export AIRFLOW_HOME=/usr/lib/airflow | |
| sudo pip install apache-airflow[hdfs,hive,password] | |
| # Cannot uninstall 'Markdown'. It is a distutils installed project | |
| # and thus we cannot accurately determine which files belong to it | |
| # which would lead to only a partial uninstall. | |
| sudo pip install apache-airflow[hdfs,hive,password] --ignore-installed Markdown | |
| # change webserver port in /home/airflow/airflow.cfg to something else than 8080 | |
| sudo pip install celery | |
| # initialize the database | |
| airflow initdb | |
| sudo yum install -y screen | |
| screen | |
| # start the web server, default port is 8080 | |
| airflow webserver -p 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment