In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you why you don't use mysql,redis in airflow stand-alone build, the content is concise and easy to understand, absolutely can make you shine, through the detailed introduction of this article I hope you can gain something.
[toc]
Airflow Standalone Build Record Environment Preparation
Python(pip)--airflow written in python
Installation of airflow
pip install apache-airflow
environment variable configuration
I am executing under root user, so I can choose it myself.
export AIRFLOW_HOME=~/airflow
Execute the airflow command
airflow
To generate the configuration file airflow.cfg under AIRFLOW_HOME
modify the configuration file
default_timezone = Asia/Shanghai
load_examples = False
base_url = http://etl1:9999
web_server_port = 9999
initialize the database
airflow initdb
modified the time zone
https://blog.csdn.net/crazy__hope/article/details/83688986
start
airflow webserver -p 9999 -D
airflow scheduler -D
additional program
Simple dag template configurator developed by third party
environment
Python3 https://www.cnblogs.com/Hunry/p/9350607.html requires additional installation
Java environment
The above content is why you don't use mysql,redis in airflow stand-alone build, have you learned knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.