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 ?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group