cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

uninstalled libraries continue to get installed on cluster startup

reedzhang
New Contributor III

We have been trying to update some library versions by uninstalling the old versions and installing new ones. However, the old libraries continue to get installed on cluster startup despite not showing up in the "libraries" tab of the cluster page. We can see in the log4j logs that they're getting installed, and we can import them in notebooks to verify that their versions are what we're trying to uninstall. Is this a known issue? How can I view/modify what the cluster decides to install on startup if it's not the libraries tab?

1 ACCEPTED SOLUTION

Accepted Solutions

reedzhang
New Contributor III

The issue seemed to go away on its own. At some point the libraries page started showing what was getting installed to the cluster, and removing libraries from the page caused them to stop getting installed on cluster startup. I'm guessing there was some bug causing a disconnect between what the libraries page was showing and what the cluster was actually using to install libraries. I doubt it was anything specific to that cluster (like init scripts, etc.) as we were seeing it on other clusters too.

View solution in original post

6 REPLIES 6

shan_chandra
Esteemed Contributor
Esteemed Contributor

could you please check if there are any global init scripts specified at the workspace level? or init scripts specified in the cluster from which the libraries are getting installed.

Kaniz
Community Manager
Community Manager

Hi @Reed Zhang​ , This article describes how to manage Azure Databricks clusters, including displaying, editing, starting, terminating, deleting, controlling access, and monitoring performance and logs.

Prabakar
Esteemed Contributor III
Esteemed Contributor III

Hi @Reed Zhang​ 

imagePlease go to the library and check if this cluster is marked to get the library automatically installed on the cluster. If so please uncheck it to resolve the issue.

Prabakar
Esteemed Contributor III
Esteemed Contributor III

@Reed Zhang​ were you able to resolve this issue? If so could you please mark it as the best answer to close this thread?

reedzhang
New Contributor III

The issue seemed to go away on its own. At some point the libraries page started showing what was getting installed to the cluster, and removing libraries from the page caused them to stop getting installed on cluster startup. I'm guessing there was some bug causing a disconnect between what the libraries page was showing and what the cluster was actually using to install libraries. I doubt it was anything specific to that cluster (like init scripts, etc.) as we were seeing it on other clusters too.

Kaniz
Community Manager
Community Manager

Hi @Reed Zhang​ , Just a friendly follow-up. Do you still need help, or have you helped yourself to find the solution? Please let us know.

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!