airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Badri (Jira)" <>
Subject [jira] [Commented] (AIRFLOW-5932) Unable to resolve backticks character
Date Thu, 14 Nov 2019 14:14:00 GMT


Badri commented on AIRFLOW-5932:

Apologies for not adding many details.

The aim of that command was to get the step name from an AWS EMR . The cluster-id of the EMR
is passed into that aws emr CLI by using the <string>.format(raw_cluster_id)

The plugin is a EmrJobFlowSensor

The DAG is unable to resolve the plugin and hence the DAG is not able to load the plug in 
to get the details of the EMR.

The issue is with the backticks character not being handled 

> Unable to resolve backticks character 
> --------------------------------------
>                 Key: AIRFLOW-5932
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 1.10.0
>         Environment: DEV
>            Reporter: Badri
>            Priority: Major
> HI, 
> I am trying to resolve a simple command which is an aws cli.
> the name has to be passed in backtick character. I used the escape option to ignore the
backticks yet , the plugin does nto complie.
> cmddev = "aws emr list-steps --cluster-id {} --query 'Steps[?Name==`` `xxx_dev` ``].id
--output text".format(raw_cluster_id)

This message was sent by Atlassian Jira

View raw message