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

Hubert-Dudek
Databricks MVP

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


My blog: https://databrickster.medium.com/