How to add labels for Dataproc Ephemeral clusters launched by Ingestion jobs
How to add labels for Dataproc Ephemeral clusters launched by Ingestion jobs?
Problem:
I would like to add labels to Dataproc Cluster launched by Infowokrs ingestion jobs
Solution:
Infoworks provides a pre ingestion job hook that can be used to run a bash script before beginning the ingestion job.
In the below steps, we would leverage the pre ingestion job hook to add labels for Dataproc clusters once they are launched
Steps:
Create a bash script as below
--update-labels env=prod,source=csv
Declare your own vairables
--region=us-central1
Replace with your actual region for the Dataproc Cluster
Note:
The above script updates labels only for ephemeral clusters launched by ingestion jobs
A pre ingestion job hook is applied for all tables in the source and cannot be applied individually for table
Affects Version:
Infoworks 5.0, 5.1.X
For more details, refer to our Knowledge Base and Best Practices!
For help, contact our support team!
© UNIPHORE TECHNOLOGIES 2025 | Confidential