[英]Airflow is not triggering dags even after they have been manually triggered from the UI due to dagbag errors
[2020-01-05 02:55:06,226] {{dagbag.py:436}}
[2020-01-05 02:55:02,610] {{dagbag.py:403}}
INFO - Filling up the DagBag
from /usr/local/airflow/dags [2020-01-05 02:55:06,226] {{dagbag.py:436}}
ERROR - [Errno 22] Invalid argument Traceback (most recent call last): File"/usr/local/airflow/.local/lib/python3.6/sitepackages/airflow/models/dagbag.py",
line 420, in collect_dags safe_mode=safe_mode)
File "/usr/local/airflow/.local/lib/python3.6/site-
packages/airflow/models/dagbag.py", line 251, in
process_file zip_file = zipfile.ZipFile(filepath)
File "/usr/local/lib/python3.6/zipfile.py", line 1131, in init
self
_RealGetContents() File "/usr/local/lib/python3.6/zipfile.py", line
1216 in _RealGetContents fp.seek(self.start_dir, 0
OSError: [Errno 22] Invalid argument
Closing this question.结束这个问题。 The log file errors remain however the dags are now getting triggered successfully.日志文件错误仍然存在,但 dag 现在已成功触发。 The problem was the dags needed to be made active(switched on) and not simply triggered to run问题是需要使 dags 处于活动状态(打开)而不是简单地触发运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.