cancel
Showing results for 
Search instead for 
Did you mean: 
Community 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 not showing while creating delta live table pipeline

Mbinyala
New Contributor II

Hi all!!!

I have created a cluster policy but when i want to use that while creating dlt pipeline, It is showing none. I have checked I have all the necessary permissions to create cluster policies. Still, in dlt ui it is showing none.

6 REPLIES 6

Rishitha
New Contributor III

Hi, even i'm facing the same issue. I have a policy with all permissions and it is still not showing up in the DLT pipeline setting UI to select.  Please help

btafur
Contributor III
Contributor III

You can check your cluster policy. There is a property called "cluster_type" where you can specify if it will apply to "dlt" or not. https://docs.databricks.com/en/administration-guide/clusters/policies.html

  "cluster_type": {
    "type": "fixed",
    "value": "dlt"
  },

Rishitha
New Contributor III

@btafur  That helped, the issue is fixed now. Thanks. 

a follow up question, can we give 2 values there for cluster type, something like this

"cluster_type": {
    "type": "fixed",
    "value": "dlt"
  },
"cluster_type": {
"type": "fixed",
"value": "job"
}

or comma separated values.

Thanks again!

btafur
Contributor III
Contributor III

You should be able to use "allowlist" instead of "fixed" for multiple values. For example:

 "cluster_type": {
  "type": "allowlist",
  "defaultValue": "all-purpose",
  "values": [
   "all-purpose",
   "job",
   "dlt"
  ]
 },

 

Rishitha
New Contributor III

That's perfect thank you. @btafur 

Rishitha
New Contributor III

@btafur  Can we also set the auto_terminate minutes with the policy?  (for the dlt cluster type)

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!