我使用的是Airflow v1.10.2,指的是experimental RESTAPI documentation。当我尝试进行API调用时 GET /api/experimental/dags/<DAG_ID>/dag_runs或 POST /api/experimental/dags/<DAG_ID>/<
我使用RESTAPI将参数传递给基于任务流的Dag。看看在这个论坛上提出的类似问题,下面似乎是访问传递的参数的常见方式。#From inside a template field or file:#Or when context is available, e.g.within a python callable of the PythonOperator:
context['dag_run'].conf[
我已经在EKS上托管了Airflow和Spark-operator。我已经在Airflow上创建了一个连接,通过使用"in cluster configuration“连接到Kubernetes集群。我只是运行示例应用程序,只是为了通过Airflow检查Kubernetes上spark的执行情况。a DAG
# Operators; we need this to operate!=d