Airflow worker gives error: address already in use

I am running Airflow with CeleryExecutor. I can run commands airflow webserverand airflow scheduler, but trying to execute airflow workergives an error: socket.error: [Errno 98] The address is already in use .

Track: enter image description here

+4
source share
2 answers

In the docker container on which the Airflow server is running, the process is already running on port 8793, which defaults to the worker_log_server_port parameters in airflow.cfg. I changed the port to 8795 and the team worked airflow worker. enter image description here

8793 : lsof i:8793, , : kill $(lsof -t -i:8793). ubuntu , lsof:

apt-get update
apt-get install lsof
+5

, Javed worker_log_server_port aiflow.cfg .

0

Source: https://habr.com/ru/post/1682826/


All Articles