首页 > 其他 > 详细

【异常】lockfile.AlreadyLocked: ~/airflow/airflow-scheduler.pid is already locked

时间:2019-07-04 23:27:42      阅读:142      评论:0      收藏:0      [点我收藏+]

1 完整异常信息

File "/usr/bin/airflow", line 32, in <module>
    args.func(args)
  File "/usr/lib/python2.7/site-packages/airflow/utils/cli.py", line 74, in wrapper
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/airflow/bin/cli.py", line 1000, in scheduler
    with ctx:
  File "/usr/lib/python2.7/site-packages/daemon/daemon.py", line 397, in __enter__
    self.open()
  File "/usr/lib/python2.7/site-packages/daemon/daemon.py", line 389, in open
    self.pidfile.__enter__()
  File "/usr/lib/python2.7/site-packages/lockfile/__init__.py", line 197, in __enter__
    self.acquire()
  File "/usr/lib/python2.7/site-packages/daemon/pidfile.py", line 60, in acquire
    super(TimeoutPIDLockFile, self).acquire(timeout, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/lockfile/pidlockfile.py", line 88, in acquire
    self.path)
lockfile.AlreadyLocked: /home/cloudera-scm/airflow/airflow-scheduler.pid is already locked

  

问题

    Airflow调度服务无法启动

解决办法

     删除pid文件,重启就ok了。

【异常】lockfile.AlreadyLocked: ~/airflow/airflow-scheduler.pid is already locked

原文:https://www.cnblogs.com/QuestionsZhang/p/11135401.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!