[ 
https://issues.apache.org/jira/browse/AIRFLOW-5136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kaxil Naik resolved AIRFLOW-5136.
---------------------------------
    Resolution: Fixed

> Fix Bug with Incorrect template_fields in DataProc{*} Operators
> ---------------------------------------------------------------
>
>                 Key: AIRFLOW-5136
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5136
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: gcp
>    Affects Versions: 1.10.4
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Major
>             Fix For: 1.10.5
>
>
> {code:python}
> Traceback (most recent call last):
> File 
> "/usr/local/virtualenv/airflow/local/lib/python2.7/site-packages/airflow/models/dagbag.py",
>  line 389, in collect_dags safe_mode=safe_mode)
> File 
> "/usr/local/virtualenv/airflow/local/lib/python2.7/site-packages/airflow/models/dagbag.py",
>  line 253, in process_file self.bag_dag(dag, parent_dag=dag, root_dag=dag)
> File 
> "/usr/local/virtualenv/airflow/local/lib/python2.7/site-packages/airflow/models/dagbag.py",
>  line 339, in bag_dag self.bag_dag(subdag, parent_dag=dag, root_dag=root_dag)
> File 
> "/usr/local/virtualenv/airflow/local/lib/python2.7/site-packages/airflow/models/dagbag.py",
>  line 326, in bag_dag dag.resolve_template_files()
> File 
> "/usr/local/virtualenv/airflow/local/lib/python2.7/site-packages/airflow/models/dag.py",
>  line 706, in resolve_template_files t.resolve_template_files()
> File 
> "/usr/local/virtualenv/airflow/local/lib/python2.7/site-packages/airflow/models/baseoperator.py",
>  line 699, in resolve_template_files content = getattr(self, attr)
> AttributeError: 'DataProcPySparkOperator' object has no attribute 
> 'dataproc_pyspark_jars'
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to