Re: airflow supervisord scripts do not work

2016-08-22 Thread Wang Yajun
Hi David The airflow need to `gunicorn` as a server. So you may be should check whether the `gunicorn` exists. if installed, may be you can add environment to supervisord script, such as : ```bash [program:airflow] environment=PATH=your/gunicorn/path:%(ENV_PATH)s ``` siddharth anand 于20

airflow initdb failed when dag file reference undefined Variables

2016-08-03 Thread Wang Yajun
Hi the airflow initdb failed if dags file in dag folder reference undefined Variables like that: * from airflow.models import Variable* *from airflow import DAG* * env = Variable.get('RS_ENV') #Note: RS_ENV is undefined* *dag = DAG()* ** it seems that airflow would load the dag files af

The default variable {{ var.value.my_var }} don't exists!

2016-08-03 Thread Wang Yajun
Hi it seems that the default variable {{ var.value.my_var }} described in this wiki don't exists! I use it like below: cmd = "{{ var.value.RS_ENV }}" my airflow version: 1.7.1.3

Re: What is the best way to retry an entire DAG instead of just a single task?

2016-08-02 Thread Wang Yajun
Arthur Purvis u can try: 1. airflow backfill -s start_date -e end_date your_DAG 2. airflow trigger_dag your_DAG u can see the detail information by the official document hope to help u Arthur Purvis 于2016年8月2日 周二下午10:55写道: > Apologies if this is a dumb question, but I'm looking for a way to re