I have installed apache-airflow (version v1.9.0) along with python 2.7. To test whether its installed properly I tried to trigger a tutorial DAG from the interactive view in browser. The interface shows that the DAG is running, but the scheduler doesn't show any activity.
Below are the steps I tried
- Install airflow
pip install apache-airflow
- Install crypto for setting encryption using fernet key
pip install apache-airflow[crypto]
- Generate a fernet_key and add in airflow.cfg file:
from cryptography.fernet import Fernet
fernet_key= Fernet.generate_key()
print(fernet_key)
- Initialise a airflow sqlite db
airflow initdb
- Start the airflow webserver
airflow webserver -p 8080
- Start the airflow scheduler in a different window
airflow scheduler
- Trigger the
tutotialDAG on the Airflow page atlocalhost:8080
After following these steps, I am not able to see any movement in my scheduler window, which just keeps me showing
INFO - Heartbeating the process manager
INFO - Heartbeating the executor
I have tried it running in the local environment as well as in a virtual environment. I have also tried running through SequentialExecutor and LocalExecutor
the task is not triggered even when I try to trigger it through the terminal by airflow trigger_dag tutorial
I am working on mac OS High Sierra Version 10.13.3
airflow list_dagsandairflow list_tasks <dag_id>- Mubinairflow test <dag_id> <task_id> 2018-06-06- Mubin