Provide custom UUID to spark job through airflow DataprocSubmitJobOperator

Viewed 271

I want to give a custom job id to the spark jobs submitted through Airflow DataprocSubmitJobOperator on Google cloud.

Through API we can do that using --id param, any idea how can we give the same through this operator?

2 Answers

I think that you should be able to give a custom job id by specifying the task_id in the configuration of DataprocSubmitJobOperator. You can find more about it in the documentation.

Related