May*_*mar 5 python python-2.7 airflow airflow-scheduler macos-high-sierra
我已经安装了apache-airflow(版本v1.9.0)以及python 2.7。为了测试其安装是否正确,我尝试从浏览器的交互式视图触发教程DAG。该界面显示DAG正在运行,但调度程序未显示任何活动。
以下是我尝试的步骤
pip install apache-airflow
Run Code Online (Sandbox Code Playgroud)
pip install apache-airflow[crypto]
Run Code Online (Sandbox Code Playgroud)
from cryptography.fernet import Fernet
fernet_key= Fernet.generate_key()
print(fernet_key)
Run Code Online (Sandbox Code Playgroud)
airflow initdb
Run Code Online (Sandbox Code Playgroud)
airflow webserver -p 8080
Run Code Online (Sandbox Code Playgroud)
airflow scheduler
Run Code Online (Sandbox Code Playgroud)
tutotial
在“气流”页面上触发DAGlocalhost:8080
完成这些步骤后,我无法在调度程序窗口中看到任何移动,这只会让我一直在显示
INFO - Heartbeating the process manager
INFO - Heartbeating the executor
Run Code Online (Sandbox Code Playgroud)
我已经尝试过在本地环境和虚拟环境中运行它。我还通过尝试运行SequentialExecutor
和LocalExecutor
即使我尝试通过终端触发任务,也不会触发任务 airflow trigger_dag tutorial
我正在使用Mac OS High Sierra版本10.13.3