โ02-10-2025 01:58 AM
Morning everyone!
I`m trying to copy from the repo into the databricks workspace all the notebooks.
I`m using the command: databricks workspace import_dir . /Shared/Notebooks, it will just print all the info regarding the Workspace API.
If I launch databricks clusters list it will print all the clusters. It seems the issue is with all the command under databricks workspace... Have someone the same issue?
Thanks in advance for the support!
โ02-19-2025 03:58 AM
Hi all,
I`ve disinstalled and installed again databricks-cli and now worked.
Is not a real solution but still it worked after one week...
โ02-10-2025 04:44 AM
Hello @ila-de,
Could you please advise why version of databricks cli are you using?
databricks -v
Please try to upgrade the version to latest if it is not.
Can you try with: databricks workspace import-dir --overwrite $localDirectory $destinationNotebookDirectory
โ02-10-2025 04:54 AM
Hi Alberto,
thanks for your reply, I m using the latest 240, I also tried to install the old versions till 238 (once a time).
I ve tried: databricks workspace import-dir --overwrite $localDirectory $destinationNotebookDirectory
also with the - - overwrite at the end. But same result.
โ02-11-2025 05:54 AM
โ02-11-2025 06:13 AM
Hi @ila-de,
Can you try using --debug option? and embedding a test file?
Like this:
databricks workspace import-dir test /Workspace/Users/ --debug
โ02-11-2025 06:50 AM
Hi @Alberto_Umana , I attach screenshot so you can see, I always have the same "output". It seems "databricks workspace" as command itself is not working
databricks -v
โ02-17-2025 03:11 AM
Hi @Alberto_Umana do you have please any suggestion?
โ02-19-2025 03:58 AM
Hi all,
I`ve disinstalled and installed again databricks-cli and now worked.
Is not a real solution but still it worked after one week...
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