airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Wirawan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1996) Update DataflowHook waitfordone for Streaming type job
Date Fri, 12 Jan 2018 06:26:00 GMT

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

Ivan Wirawan commented on AIRFLOW-1996:
---------------------------------------

{code}
elif 'JOB_STATE_RUNNING' == self._job['currentState'] and 'JOB_TYPE_STREAMING' == self._job['type']:
       return True
{code}
need to add this before
{code}
elif 'JOB_STATE_RUNNING' == self._job['currentState']:
       time.sleep(self._poll_sleep)
{code}

> Update DataflowHook waitfordone for Streaming type job
> ------------------------------------------------------
>
>                 Key: AIRFLOW-1996
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1996
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib, Dataflow, gcp
>            Reporter: Ivan Wirawan
>            Assignee: Ivan Wirawan
>
> When I ran a Dataflow Job with Streaming Job Type, the airflow task will not finished
cause the job will not go to state Done and always Running.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message