无法启动气流工作人员

时间:2020-11-05 03:10:21

标签: python airflow

我可以在其单节点模式下正确启动气流,现在我想设置一个气流簇。 但是,当我启动气流工作人员时,出现以下错误。有人知道怎么了吗?谢谢

(airflow) ➜  airflow airflow worker
Traceback (most recent call last):
  File "/Users/jzhang/anaconda3/envs/airflow/bin/airflow", line 37, in <module>
    args.func(args)
  File "/Users/jzhang/anaconda3/envs/airflow/lib/python3.7/site-packages/airflow/utils/cli.py", line 75, in wrapper
    return f(*args, **kwargs)
  File "/Users/jzhang/anaconda3/envs/airflow/lib/python3.7/site-packages/airflow/bin/cli.py", line 1089, in worker
    worker = worker.worker(app=celery_app)
  File "/Users/jzhang/anaconda3/envs/airflow/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/jzhang/anaconda3/envs/airflow/lib/python3.7/site-packages/click/core.py", line 781, in main
    with self.make_context(prog_name, args, **extra) as ctx:
  File "/Users/jzhang/anaconda3/envs/airflow/lib/python3.7/site-packages/click/core.py", line 698, in make_context
    ctx = Context(self, info_name=info_name, parent=parent, **extra)
TypeError: __init__() got an unexpected keyword argument 'app'

0 个答案:

没有答案