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

ASF GitHub Bot commented on AIRFLOW-5136:
-----------------------------------------

kaxil commented on pull request #5751: [AIRFLOW-5136] Fix Bug with Incorrect 
template_fields in DataProc{*} …
URL: https://github.com/apache/airflow/pull/5751
 
 
   
 
----------------------------------------------------------------
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:
us...@infra.apache.org


> 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