Databricks and Policies

Gopinath Rajee 646 Reputation points
2022-04-27T14:32:20.02+00:00

All,

I'm trying to get the value for 10.4 LTS working but I keep getting the error - Databricks Runtime Version needs to match pattern "10.4 LTS (Scala 2.12, Spark 3.2.1)"

What am I doing wrong? Also, I tried the pattern approach and even that results in the same error.

"spark_version": {
"type": "fixed",
"value": "10.4.x-scala2.12"
}

197006-image.png

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,913 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 76,746 Reputation points Microsoft Employee
    2022-04-28T07:33:51.597+00:00

    Hello @Gopinath Rajee ,

    Thanks for the question and using MS Q&A platform.

    Here is the policy definition used to create the cluster with DBR 10.4 LTS:

    {  
      "spark_version": { "type": "fixed", "value": "10.4.x-scala2.12, "hidden": true }  
    }  
    

    As per the repro from our end, able to create the cluster with DBR 10.4 LTS without any issues:

    197234-adb-policy-dbr.gif

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators