[ https://issues.apache.org/jira/browse/AIRFLOW-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937276#comment-15937276 ]
ASF subversion and git services commented on AIRFLOW-1017: ---------------------------------------------------------- Commit b2b9587cca9195229ab107394ad94b7702c70e37 in incubator-airflow's branch refs/heads/master from [~aoen] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=b2b9587 ] [AIRFLOW-1017] get_task_instance shouldn't throw exception when no TI get_task_instance should return None instead of throwing exception in the case where dagrun does not have the task instance. Closes #2178 from aoen/ddavydov-- one_instead_of_first_for_dagrun > get_task_instance should return None instead of throw an exception for > non-existent TIs > --------------------------------------------------------------------------------------- > > Key: AIRFLOW-1017 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1017 > Project: Apache Airflow > Issue Type: Bug > Reporter: Dan Davydov > Assignee: Dan Davydov > Priority: Critical > > We were seeing errors in our scheduler like the following due to this issue: > File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line > 2796, in one > raise orm_exc.NoResultFound("No row was found for one()") -- This message was sent by Atlassian JIRA (v6.3.15#6346)