[
https://issues.apache.org/jira/browse/AIRFLOW-852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16572113#comment-16572113
]
Quijano Flores commented on AIRFLOW-852:
I get an error when I do this [~salad_king]
`AttributeError: 'NoneType' object has no attribute 'is_paused'`
```
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/flask/app.py", line 1988, in
wsgi_app
response = self.full_dispatch_request()
File "/anaconda3/lib/python3.6/site-packages/flask/app.py", line 1641, in
full_dispatch_request
rv = self.handle_user_exception(e)
File "/anaconda3/lib/python3.6/site-packages/flask/app.py", line 1544, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File "/anaconda3/lib/python3.6/site-packages/flask/_compat.py", line 33, in
reraise
raise value
File "/anaconda3/lib/python3.6/site-packages/flask/app.py", line 1639, in
full_dispatch_request
rv = self.dispatch_request()
File "/anaconda3/lib/python3.6/site-packages/flask/app.py", line 1625, in
dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/anaconda3/lib/python3.6/site-packages/flask_admin/base.py", line 69, in
inner
return self._run_view(f, *args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/flask_admin/base.py", line 368,
in _run_view
return fn(self, *args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/flask_login.py", line 755, in
decorated_view
return func(*args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/airflow/www/utils.py", line 125,
in wrapper
return f(*args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/airflow/www/views.py", line 1606,
in paused
orm_dag.is_paused = True
```
> Docs: Cancel a triggered dag
>
>
> Key: AIRFLOW-852
> URL: https://issues.apache.org/jira/browse/AIRFLOW-852
> Project: Apache Airflow
> Issue Type: Improvement
> Components: docs
>Reporter: Andi Pl
>Priority: Major
>
> Issue: Cancel an externally triggered dag.
> The dag is running and contains 200 parallel tasks. Only 3 are run at once,
> as the celery executor is limited to 3 in parallel.
> 23 tasks are finished till now.
> We want to cancel the execution of the missing tasks. But they are not queued
> yet. How can we cancel them?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)