Problem
Usually, libraries can be uninstalled in the Clusters UI. If the checkbox to select the library is disabled, then it’s not possible to uninstall the library from the UI.
Cause
If you create a library using REST API version 1.2 and if auto-attach is enabled, the library is installed on all clusters. In this scenario, the Clusters UI checkbox to select the library to uninstall is disabled.
Solution
Create a workspace library pointing to the DBFS location of the library that you are unable to uninstall.
Example: You can’t uninstall a JAR library that is available at this DBFS location:
dbfs:/Filestore/jars/custom_elastic_spark.jar
- Create a new workspace library pointing to the same DBFS location.
- In the library UI, select the checkbox to uninstall the library from individual clusters.