cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Extract cluster usage tags from databricks cluster init script

Ravikumashi
Contributor

Is it possible we extract cluster usage tags from databricks cluster init script, I am specifically interested in spark.databricks.clusterUsageTags.clusterAllTags.

I tried to extract from /databricks/spark/conf/spark.conf and /databricks/spark/conf/spark-default.conf but I get a error saying no such directory.

It would be great if you can help on this

3 REPLIES 3

Debayan
Databricks Employee
Databricks Employee

Hi, For reference: https://community.databricks.com/t5/data-engineering/pull-cluster-tags/td-p/19216 , could you please confirm the key expectation here? Extracting as such? 

@Debayan  thank you for your reply.

Reference link helps to get the cluster usage tags from notebook when the cluster is completly up and running.

Our requirement is to extract cluster usage tags during the cluster initiation and pass this info to spark layout for azure databricks spark monitoring jar(12.2 lts).

@Ravikumashi  Where you ever able to achieve this ?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now