Skip to content

Instantly share code, notes, and snippets.

@dbist
Last active July 18, 2018 20:47
Show Gist options
  • Select an option

  • Save dbist/1d03c79488efc05ff187ff79878685bb to your computer and use it in GitHub Desktop.

Select an option

Save dbist/1d03c79488efc05ff187ff79878685bb to your computer and use it in GitHub Desktop.
install Airflow
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