[
https://issues.apache.org/jira/browse/AIRFLOW-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974297#comment-16974297
]
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: https://issues.apache.org/jira/browse/AIRFLOW-5932
> 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
(v8.3.4#803005)