[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
答案 0 :(得分:0)
结束这个问题。日志文件错误仍然存在,但是现在已经成功触发了dag。问题是必须使das处于活动状态(打开),而不仅仅是触发运行