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

ASF subversion and git services commented on AIRFLOW-4019:
----------------------------------------------------------

Commit 3bb0493106161506459e18632042c81f10f19946 in airflow's branch 
refs/heads/master from Mariko Wakabayashi
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=3bb0493 ]

[AIRFLOW-4019] Fix AWS Athena Sensor object has no attribute 'mode' (#4844)



> AWS Athena Sensor's object has no attribute 'mode'
> --------------------------------------------------
>
>                 Key: AIRFLOW-4019
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4019
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.10.2
>            Reporter: Mariko Wakabayashi
>            Assignee: Mariko Wakabayashi
>            Priority: Major
>             Fix For: 1.10.3
>
>
> *Bug*
> {code:java}
> [2019-03-05 18:52:32,317] {models.py:1788} ERROR - 'AthenaSensor' object has 
> no attribute 'mode'
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 1657, 
> in _run_raw_task
>     result = task_copy.execute(context=context)
>   File 
> "/usr/local/lib/python3.6/site-packages/airflow/sensors/base_sensor_operator.py",
>  line 92, in execute
>     if self.reschedule:
>   File 
> "/usr/local/lib/python3.6/site-packages/airflow/sensors/base_sensor_operator.py",
>  line 123, in reschedule
>     return self.mode == 'reschedule'{code}
> *Fix*
>  * AWS Athena Sensor's first argument to super() is incorrect
>  * 
> [https://github.com/apache/airflow/blob/master/airflow/contrib/sensors/aws_athena_sensor.py#L59]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to