airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Montgomery <davidmontgom...@gmail.com>
Subject airflow supervisord scripts do not work
Date Sun, 21 Aug 2016 21:46:13 GMT
Hi,

its great that one can start the webserver from the command line however
using the upstart scripts do not work.


this is in the
https://github.com/apache/incubator-airflow/blob/master/scripts/upstart/airflow-webserver.conf

exec usr/local/bin/airflow webserver

But I want to use supervisor. And toe below is the terrible error I get

Traceback (most recent call last): File "/usr/local/bin/airflow", line 15,
in <module> args.func(args) File
"/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 423, in
webserver 'gunicorn', run_args File "/usr/lib/python2.7/os.py", line 344,
in execvp _execvpe(file, args) File "/usr/lib/python2.7/os.py", line 380,
in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or
directory


[program:airflow]
command = /usr/local/bin/airflow webserver -p 80

process_name=%(program_name)s
autostart=true
autorestart=true
stopsignal=KILL
stopasgroup = true
killasgroup = true


stdout_logfile=/tmp/airflow.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=1

stderr_logfile = /tmp/airflow.err
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=1


[group:airflow_server]
programs=airflow

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message