airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shire (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1223) Is there a (preferred) method for programmatically forcing a dag's refresh
Date Thu, 18 May 2017 06:43:04 GMT

     [ 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 list 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.

  was:
When making a code 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 list 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 list 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.



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

Mime
View raw message