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

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 ?