Concurrent installation of UCX in multiple workspaces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2024 06:23 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2024 07:58 PM
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