There are two ways of getting this information from the Airflow UI :
You can go to Browse -> Task Instances and fetch the hostname to know on which worker the task run. You can also apply filters etc.
Or you can go to Data Profiling to run an Ad Hoc Query such as the following one:
SELECT dag_id, task_id, state, hostname
FROM task_instance
WHERE state = "running"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…