【发布时间】:2022-07-15 06:10:00
【问题描述】:
我们正在使用 Apache Airflow 的 DataprocCreateClusterOperator 在 GCP(Dataproc) 上创建 Spark 集群,并希望启用 Spark Web UI 界面。使用终端创建时,我们在创建集群命令中传递--enable-component-gateway。我们如何使用DataprocCreateClusterOperator 实现这一目标
我们尝试在下面添加endpoint_config(下面的示例代码),但没有成功。
"software_config" : {
.....,
"endpoint_config" : {
"enable_http_port_access" : "true"
}
}
【问题讨论】:
标签: airflow google-cloud-dataproc dataproc