airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Riccomini (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-119) "Template Not Found" error from QuboleOperator
Date Thu, 19 May 2016 02:40:12 GMT


Chris Riccomini commented on AIRFLOW-119:

Ah, I see my confusion. Here's the relevant code in

        if (
                isinstance(content, six.string_types) and
                any([content.endswith(ext) for ext in exts])):
            return jinja_env.get_template(content).render(**context)
            return self.render_template_from_field(attr, content, context, jinja_env)

Any templated variable ends in a template_ext, it will get loaded off the disk. Now what you're
saying makes sense to me.

> "Template Not Found" error from QuboleOperator
> ----------------------------------------------
>                 Key: AIRFLOW-119
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>    Affects Versions: Airflow 1.7.0
>            Reporter: Sumit Maheshwari
>              Labels: qds
> From the given example set, when I am using qbol operator for a hive workload, whose
script resides in s3 and ends with ".qbl", I am getting "Template Not Found" error. 
> Also it would be nice, if airflow always tags commands going from airflow to qds. 

This message was sent by Atlassian JIRA

View raw message