[jira] [Commented] (AIRFLOW-1017) get_task_instance should return None instead of throw an exception for non-existent TIs
[ https://issues.apache.org/jira/browse/AIRFLOW-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15947902#comment-15947902 ] ASF subversion and git services commented on AIRFLOW-1017: -- Commit 2106ff57056d08436d8aab87ac5601d9f554935a in incubator-airflow's branch refs/heads/v1-8-test from [~criccomini] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=2106ff5 ] [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 (cherry picked from commit b2b9587cca9195229ab107394ad94b7702c70e37) > 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 > Fix For: 1.8.1 > > > 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)
[jira] [Commented] (AIRFLOW-1017) get_task_instance should return None instead of throw an exception for non-existent TIs
[ https://issues.apache.org/jira/browse/AIRFLOW-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15941325#comment-15941325 ] Jeeyoung Kim commented on AIRFLOW-1017: --- I just ran into this issue. Thanks for resolving! > 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)
[jira] [Commented] (AIRFLOW-1017) get_task_instance should return None instead of throw an exception for non-existent TIs
[ https://issues.apache.org/jira/browse/AIRFLOW-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)