我是Apache Airflow的新手,所以我已经按照下面的命令安装并启动了Airflow。
airflow webserver -p 8080
返回消息看起来像气流成功启动。
[bank@RHEL01 airflow]$ airflow webserver -p 8080
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Airflow 1.10 will be the last release series to support Python 2
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
[2020-02-26 23:03:38,800] {__init__.py:51} INFO - Using executor SequentialExecutor
[2020-02-26 23:03:38,801] {dagbag.py:403} INFO - Filling up the DagBag from /home/bank/airflow/dags
Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080
Timeout: 120
Logfiles: - -
=================================================================
[2020-02-26 23:03:41 +0000] [2313] [INFO] Starting gunicorn 19.10.0
[2020-02-26 23:03:41 +0000] [2313] [INFO] Listening at: http://0.0.0.0:8080 (2313)
[2020-02-26 23:03:41 +0000] [2313] [INFO] Using worker: sync
[2020-02-26 23:03:41 +0000] [2318] [INFO] Booting worker with pid: 2318
[2020-02-26 23:03:42 +0000] [2319] [INFO] Booting worker with pid: 2319
[2020-02-26 23:03:42 +0000] [2320] [INFO] Booting worker with pid: 2320
[2020-02-26 23:03:42 +0000] [2321] [INFO] Booting worker with pid: 2321
[2020-02-26 23:03:43,650] {__init__.py:51} INFO - Using executor SequentialExecutor
[2020-02-26 23:03:43,651] {dagbag.py:403} INFO - Filling up the DagBag from /home/bank/airflow/dags
[2020-02-26 23:03:44,042] {__init__.py:51} INFO - Using executor SequentialExecutor
[2020-02-26 23:03:44,043] {dagbag.py:403} INFO - Filling up the DagBag from /home/bank/airflow/dags
[2020-02-26 23:03:44,210] {__init__.py:51} INFO - Using executor SequentialExecutor
[2020-02-26 23:03:44,211] {dagbag.py:403} INFO - Filling up the DagBag from /home/bank/airflow/dags
[2020-02-26 23:03:44,301] {__init__.py:51} INFO - Using executor SequentialExecutor
[2020-02-26 23:03:44,303] {dagbag.py:403} INFO - Filling up the DagBag from /home/bank/airflow/dags
[2020-02-26 23:04:18 +0000] [2313] [INFO] Handling signal: ttin
[2020-02-26 23:04:18 +0000] [2404] [INFO] Booting worker with pid: 2404
[2020-02-26 23:04:19,102] {__init__.py:51} INFO - Using executor SequentialExecutor
[2020-02-26 23:04:19,103] {dagbag.py:403} INFO - Filling up the DagBag from /home/bank/airflow/dags
[2020-02-26 23:04:20 +0000] [2313] [INFO] Handling signal: ttou
[2020-02-26 23:04:20 +0000] [2318] [INFO] Worker exiting (pid: 2318)
此后,我尝试打开Airflow UI,但在进入首页时出现卡住的情况,如下所示。
如何解决此问题?
有关差异端口8082的更多信息,因为我在Virtualbox 6上使用了Redhat Linux VM。然后,我为访问SSH(2522-> 22)和Airflow(8082-> 8080)配置了端口转发)来自主机的访客。我可以远程登录所有已配置的端口。