cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Cluster policy type

thrinadhReddy
New Contributor II

Hi guys,

I am creating a cluster policy through json. 

"runtime_engine": {

"type": "fixed"

"value": "PHOTON"

}

When I run the above code... PHOTON option is getting enabled but graying out... What would I specify in type field so that the photon option should not be grayed out.

Thank you ๐Ÿ˜Š

3 REPLIES 3

Hi Kaniz,

Thanks for the reply.

Yes. This is exactly what I am looking for.

"It appears that youโ€™re trying to configure the runtime_engine in Databricks cluster policy using JSON. The PHOTON option is getting enabled but greyed out, and youโ€™d like to know how to prevent that. Letโ€™s dive into this!"

I don't want it to be grayed out.. I just want it to be checked and accessible...

I used standard Databricks Runtime (11.3 LTS (Scala 2.12, Spark 3.3.0)).

Is there anything other than type=fixed, so that it won't gray out.

Yeshwanth
Honored Contributor

@thrinadhReddy

This section includes a reference for each of the available policy types. There are two categories of policy types: fixed policies and limiting policies.

Fixed policies prevent user configuration on an attribute. The two types of fixed policies are:

https://docs.databricks.com/en/admin/clusters/policy-definition.html#supported-policy-types

Beast regards,

Yesh

Hi Yeshwant,

I did go through that link. No combination of choices work in my scenario. I tried all type options, nothing works.

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