Plug airflow-rest-api
1) Get
wget https://github.com/teamclairvoyant/airflow-rest-api-plugin/archive/master.zip
2) content in the folder in the plugin airflow / plugin / down, if there is a new
3) to restart the airflow
When after the restart, found that airflow webserver can not start, reported such a mistake
We can see from the wrong, the system lacks flask_jwt_extended module, in other words is the lack of dependencies
We install command
pip install flask_jwt_extended
Airflow webserver restart the service, found stuck motionless
Analyze the reasons:
airflow version is 1.10.2
View Website: https://github.com/teamclairvoyant/airflow-rest-api-plugin
I mentioned here, and I need to install this version of airflow module flask_jwt_extended
We obviously depend on the installation, and the result was not
Because of the low airflow version, install flask_jwt_extended modules have low version
pip uninstall flask_jwt_extended // module unload the original PIP install flask_jwt_extended == 1.5 . 0
This time to the same time the rest api version is also reduced, reducing I go directly to v1.0.0
Then repeat the installation once rest api plug-in is successful, restart the service