[
https://issues.apache.org/jira/browse/AIRFLOW-5168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917719#comment-16917719
]
ASF GitHub Bot commented on AIRFLOW-5168:
-----------------------------------------
kaxil commented on pull request #5928: [AIRFLOW-5168] Fix Dataproc Operators &
add tests
URL: https://github.com/apache/airflow/pull/5928
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Dataproc operators fail on 1.10.4
> ---------------------------------
>
> Key: AIRFLOW-5168
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5168
> Project: Apache Airflow
> Issue Type: Bug
> Components: worker
> Affects Versions: 1.10.4
> Reporter: Daniel Cooper
> Assignee: Kaxil Naik
> Priority: Critical
> Fix For: 1.10.5
>
>
> We've found a problem with DataprocOperators introduced in 1.10.4.
> There is a commit to master which adds label support, this has a change in
> the hook & base operator:
> https://github.com/apache/airflow/commit/4d58f36df3b533edfce873799dc161ee34571d63#diff-bc55ad8b749b7a136f51ffabfdbaf13dL684
> Then in the 1.10.4 branch there is a massive commit for GCP DLP:
> https://github.com/apache/airflow/commit/222c6ac45de54ed0398645c1d456a592e194325b
> This seems to have leaked the operator part of the label change only:
> https://github.com/apache/airflow/commit/222c6ac45de54ed0398645c1d456a592e194325b#diff-bc55ad8b749b7a136f51ffabfdbaf13dR693
> This then manifests as this error when trying to execute a Dataproc job:
> {{[2019-08-09 14:32:02,971] \{taskinstance.py:1047} ERROR -
> _DataProcJobBuilder instance has no attribute 'add_labels'}}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)