cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
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
Valued Contributor III

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

Connect with Databricks Users in Your Area

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