cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Concurrent installation of UCX in multiple workspaces

unity_Catalog
New Contributor III

I am trying to install UCX in multiple workspaces concurrently through bash script but facing issue continuously. I have created separate directories for each workspace. I'm facing the below error everytime.

Installing UCX in Workspace1
Error: lib: cleanup: remove all: remove C:\Users\offerings_admin\.databricks\labs\ucx\lib: The process cannot access the file because it is being used by another process.
Installing UCX in Workspace2
Error: lib: cleanup: remove all: remove C:\Users\offerings_admin\.databricks\labs\ucx\lib: The process cannot access the file because it is being used by another process.








1 REPLY 1

Brahmareddy
Esteemed Contributor

Hi @unity_Catalog, How are you dong today?

Try running the UCX installations sequentially to avoid file access conflicts, adding a small delay between each. Ensure each workspace uses a separate installation directory to prevent overlap. You could also implement a file locking mechanism in your script to ensure one installation runs at a time. Lastly, check that there are no lingering processes or files from previous installations before starting a new one.

Give a try and let know if it works.

Regards,

Brahma

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now