Airflow學習筆記 --- airflow安裝
首先安裝命令為:
pip install airflow
也可以:
pip install airflow[引數]
引數如下:
subpackage | install command | enables |
---|---|---|
all |
pip install airflow[all] |
All Airflow features known to man |
all_dbs |
pip install airflow[all_dbs] |
All databases integrations |
async |
pip install airflow[async] |
Async worker classes for gunicorn |
devel |
pip install airflow[devel] |
Minimum dev tools requirements |
devel_hadoop |
pip install airflow[devel_hadoop] |
Airflow + dependencies on the Hadoop stack |
celery |
pip install airflow[celery] |
CeleryExecutor |
crypto |
pip install airflow[crypto] |
Encrypt connection passwords in metadata db |
druid |
pip install airflow[druid] |
Druid.io related operators & hooks |
gcp_api |
pip install airflow[gcp_api] |
Google Cloud Platform hooks and operators (using google-api-python-client ) |
jdbc |
pip install airflow[jdbc] |
JDBC hooks and operators |
hdfs |
pip install airflow[hdfs] |
HDFS hooks and operators |
hive |
pip install airflow[hive] |
All Hive related operators |
kerberos |
pip install airflow[kerberos] |
kerberos integration for kerberized hadoop |
ldap |
pip install airflow[ldap] |
ldap authentication for users |
mssql |
pip install airflow[mssql] |
Microsoft SQL operators and hook, support as an Airflow backend |
mysql |
pip install airflow[mysql] |
MySQL operators and hook, support as an Airflow backend |
password |
pip install airflow[password] |
Password Authentication for users |
postgres |
pip install airflow[postgres] |
Postgres operators and hook, support as an Airflow backend |
qds |
pip install airflow[qds] |
Enable QDS (qubole data services) support |
rabbitmq |
pip install airflow[rabbitmq] |
Rabbitmq support as a Celery backend |
s3 |
pip install airflow[s3] |
S3KeySensor , S3PrefixSensor |
samba |
pip install airflow[samba] |
Hive2SambaOperator |
slack |
pip install airflow[slack] |
SlackAPIPostOperator |
vertica |
pip install airflow[vertica] |
Vertica hook support as an Airflow backend |
cloudant |
pip install airflow[cloudant] |
Cloudant hook |
可以直接使用:
pip install airflow[all]
這樣就可以安裝所有依賴的東西,
配置環境變數:
export AIRFLOW_HOME=~/airflow
配置mysql資料庫儲存airflow資訊:
sql_alchemy_conn = mysql://user:password@ip:port/airflow
初始化資料庫:
airflow initdb
啟動Web Server,指定埠:
airflow webserver –p 18080
安裝成功介面:
後臺顯示:
OK,在預設的配置下可以玩了,如果需要將airflow的資料儲存到資料庫的話,就可以配置一下儲存到資料庫。
相關文章
- [AirFlow]AirFlow使用指南四DAGOperatorTaskAIGo
- airflow practiceAI
- airflow2.0.2分散式安裝文件AI分散式
- Apache Airflow 2.3.0 釋出ApacheAI
- Airflow使用入門指南AI
- Airflow 實戰軍規AI
- Airflow 任務排程AI
- 大資料技術 - Airflow大資料AI
- Airflow 2正式出來了AI
- 使用 Airflow 替代你的 crontabAI
- RabbitMQ學習筆記-安裝MQ筆記
- Centos學習筆記--安裝CentOS筆記
- Airflow 中文文件:快速開始AI
- [譯] Robinhood 為什麼使用 AirflowAI
- Apache Airflow十條最佳實踐ApacheAI
- airflow DAG/PIPELINE examples referenceAI
- Mysql學習筆記(安裝篇)MySql筆記
- Docker安裝(學習筆記一)Docker筆記
- python學習安裝筆記Python筆記
- Flask學習筆記(安裝篇)Flask筆記
- ASM學習筆記_ASM安裝ASM筆記
- Airflow替代方案:Prefect和Dagster比較AI
- [譯] 理解 Apache Airflow 的關鍵概念ApacheAI
- Flutter學習筆記 - 安裝,映象,配置Flutter筆記
- golang學習筆記(1):安裝&helloworldGolang筆記
- Redis學習筆記【01】 - 安裝RedisRedis筆記
- matlab學習筆記一:安裝Matlab筆記
- Mysql學習筆記1--安裝MySql筆記
- 史上最全面 centos7安裝 apache-airflow(2020-09-30)CentOSApacheAI
- Airflow 中文文件:用Dask擴充套件AI套件
- Golang學習筆記-IDE安裝指南Golang筆記IDE
- CentOS學習筆記 – 6. docker安裝CentOS筆記Docker
- Redis安裝與配置(學習筆記一)Redis筆記
- Ansible學習筆記-Ansible安裝筆記
- Linux 學習筆記 - 軟體安裝Linux筆記
- MacChromecast遠端播放工具——Airflow for MacMacChromeASTAI
- [譯] Airflow: 一個工作流程管理平臺AI
- DolphinDB +Python Airflow 高效實現資料清洗PythonAI