You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Michael Shire (JIRA)" <ji...@apache.org> on 2017/05/18 06:43:04 UTC

[jira] [Updated] (AIRFLOW-1223) Is there a (preferred) method for programmatically forcing a dag's refresh

     [ https://issues.apache.org/jira/browse/AIRFLOW-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Shire updated AIRFLOW-1223:
-----------------------------------
    Description: 
When making a change to a dag, in order to immediately load the change I have to click the "refresh" symbol in the dag list UI.

Is there a preferred way to programmatically force a dag to refresh/reload immediately?

sample use case:
A dag creates tasks and dependencies by reading a table (e.g. a text file or a db table).  When additions or changes are made to this table, I'd like a command I can run to force the dag to update/refresh/reload straight away to pick up the new tasks and also appear refreshed in the webserver UI. 

The closest I can find is "airflow initdb" though I do not think that fully covers it and am unclear to the consequences or side effects of a running airflow.

  was:
When making a change to a dag, in order to immediately load the change I have to click the "refresh" symbol in the dag list UI.

Is there a preferred way to programmatically force a dag to refresh/reload immediately?

sample use case:
A dag creates tasks and dependencies by reading a table (e.g. a text file or a db table).  When additions or changes are made to this list, I'd like a command I can run to force the dag to update/refresh/reload straight away to pick up the new tasks and also appear refreshed in the webserver UI. 

The closest I can find is "airflow initdb" though I do not think that fully covers it and am unclear to the consequences or side effects of a running airflow.


> Is there a (preferred) method for programmatically forcing a dag's refresh
> --------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1223
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1223
>             Project: Apache Airflow
>          Issue Type: Wish
>          Components: DAG, ui
>    Affects Versions: Airflow 1.7.1
>            Reporter: Michael Shire
>
> When making a change to a dag, in order to immediately load the change I have to click the "refresh" symbol in the dag list UI.
> Is there a preferred way to programmatically force a dag to refresh/reload immediately?
> sample use case:
> A dag creates tasks and dependencies by reading a table (e.g. a text file or a db table).  When additions or changes are made to this table, I'd like a command I can run to force the dag to update/refresh/reload straight away to pick up the new tasks and also appear refreshed in the webserver UI. 
> The closest I can find is "airflow initdb" though I do not think that fully covers it and am unclear to the consequences or side effects of a running airflow.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)