[jira] [Commented] (AIRFLOW-5081) max_active_runs doesn't work correct

2019-07-31 Thread Dmitrii Bocharov (JIRA)


[ 
https://issues.apache.org/jira/browse/AIRFLOW-5081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16896970#comment-16896970
 ] 

Dmitrii Bocharov commented on AIRFLOW-5081:
---

I triggered it manually and then later scheduler creates a second run, when dag 
was still running.

> max_active_runs doesn't work correct
> 
>
> Key: AIRFLOW-5081
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5081
> Project: Apache Airflow
>  Issue Type: Bug
>  Components: DagRun
>Affects Versions: 1.10.3
>Reporter: Dmitrii Bocharov
>Priority: Major
>
> We have problem with max_active_run property, we are using airlow 1.10.3 and 
> get some problems with count active dags at the moment.
> We set max_active_run as 1 
> self.dag = DAG(self.dag_name, default_args=default_args, 
> schedule_interval=self.schedule_interval,
>  max_active_runs=1).
> Also we have hourly scheduling interval
> The main problem is 2 dag run is running at the same time. It happens, when 
> we run our dag manually, using trigger dag from ui or cli. Scheduler run dag 
> at the beginning of the hour too and we have 2 dag runs (manual and 
> scheduled) at the moment.
> I think it looks like a bug. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (AIRFLOW-5081) max_active_runs doesn't work correct

2019-07-31 Thread Dmitrii Bocharov (JIRA)
Dmitrii Bocharov created AIRFLOW-5081:
-

 Summary: max_active_runs doesn't work correct
 Key: AIRFLOW-5081
 URL: https://issues.apache.org/jira/browse/AIRFLOW-5081
 Project: Apache Airflow
  Issue Type: Bug
  Components: DagRun
Affects Versions: 1.10.3
Reporter: Dmitrii Bocharov


We have problem with max_active_run property, we are using airlow 1.10.3 and 
get some problems with count active dags at the moment.

We set max_active_run as 1 

self.dag = DAG(self.dag_name, default_args=default_args, 
schedule_interval=self.schedule_interval,
 max_active_runs=1).
Also we have hourly scheduling interval

The main problem is 2 dag run is running at the same time. It happens, when we 
run our dag manually, using trigger dag from ui or cli. Scheduler run dag at 
the beginning of the hour too and we have 2 dag runs (manual and scheduled) at 
the moment.
I think it looks like a bug. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)