02-14-2024 07:58 AM
Hey Databricks,
Seems like you changed the way Global Init Scripts work. How come you changed it? My Global Init Script runs great on 12.2LTS but not on the new(er) LTS version 13.3. We don't have Unity Catalog turned on. What's up with that? Are Global Init scripts going away for good?
Thank you
Benedetta
03-19-2024 06:27 AM
Hello Benedetta,
I had the same issue with an odbc init script.
Within the global script it was using an ubuntu version (16.04).
After I upgraded this version in the script to 22.04 it worked! (that 22.04 version also shows on Databricks Runtime 13.3 LTS | Databricks on AWS under System Environment)
I hope this will help you!
02-14-2024 08:40 PM
Hi @Benedetta, Hello! It appears you’ve noticed some changes in the way Global Init Scripts function in Databricks. Let me provide some insights into this:
Global Init Scripts:
Cluster-Scoped Init Scripts:
Unity Catalog:
Remember to restart your clusters after making any changes to init scripts for them to take effect. If you have further questions or need assistance, feel free to ask! 😊
03-06-2024 11:02 AM
Hi Kaniz,
Thanks for your reply. I still don't understand if my pyodbc global init script is supposed to run on LTS 13.3. If so.....it doesn't. The connection to the server fails. In the past when upgrading to the latest LTS runtime, I don't recall the init scripts failing. Could you please confirm if my init script should run on the newer 13.3 LTS version, as it does on the LTS 12.2 version?
Thank you!
Benedetta
03-19-2024 06:27 AM
Hello Benedetta,
I had the same issue with an odbc init script.
Within the global script it was using an ubuntu version (16.04).
After I upgraded this version in the script to 22.04 it worked! (that 22.04 version also shows on Databricks Runtime 13.3 LTS | Databricks on AWS under System Environment)
I hope this will help you!
04-02-2024 01:42 PM
Thank you ChloeBors - I tried upgrading the ubuntu version per your suggestion but got a new error "Can t open lib ODBC Driver 17 for SQL Server file not found 0 SQLDriverConnect". I tried modifying this line to 18: ACCEPT_EULA=Y apt-get install msodbcsql17 but I got the same error about 17. Not sure what to do next.
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