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: 

How to get the normalized hours value for the Databricks EMR cluster?

bala_kowsalya
New Contributor II

Hi Hubert!

I'm working on a usecase to get the compute usage stats. I used boto3 code and describe_cluster() function to get the normalized instance hours value for the EMR cluster. I would like to know if there is an equivalent for this normalized instance hours in DBEMR. If so, what is the way to get those values for the clusters? Could you please help me here?

Appreciate your help.

Thanks in advance!

Regards,

Bala

1 REPLY 1

Hubert-Dudek
Esteemed Contributor III

Hi Bala, nice to meet you.

Yes, there is an equivalent. For example, in Databricks, you need to use the get method in cluster API or CLI implementation of API.

https://docs.databricks.com/dev-tools/api/latest/clusters.html#get

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