โ11-10-2021 07:55 AM
Hi,
I have the following error :
Error: b'{"error_code":"TEMPORARILY_UNAVAILABLE","message":"The service at /api/2.0/workspace/get-status is temporarily unavailable. Please try again later."}'
when I do :
databricks workspace export_dir path .
or
databricks workspace ls /
How can I salve that ? Thanks
โ11-10-2021 08:17 AM
probably some issue in network connectivity (between you and databricks), as it should work, that is if you configured it correctly (databricks configure).
Just ran your 2nd example and it works (Azure).
โ11-10-2021 08:22 AM
I don't think so. Actually, on databricks I run
%sh
ls /Workspace
and I got
ls: cannot open directory '/Workspace': Resource temporarily unavailable
โ11-10-2021 08:17 AM
Hi @Bertrand BURCKERโ You might need to provide the absolute path to get the result.
Please refer to https://docs.databricks.com/dev-tools/cli/workspace-cli.html#list-objects-in-a-workspace
โ11-10-2021 09:18 AM
From an Azure DevOps pipeline, I cannot import a folder and I thinks this is due to my workspace directory which is not available for some reaons.
I tried on 2 different databricks workspaces and I have the same issue.
May be this is related to the way I configure my databricks workspace ?
โ11-10-2021 09:50 AM
Please try to reconfigure cli. Please double check databricks host
databricks configure --token
Regarding second command which you shared (%sh ls /Workspace)
it will not work on free community edition. There you can use only native function like - dbutils.fs.ls and access only to dbfs file system.
Additionally even when it is not free edition you can not access directly /Workspace folder via shell as by default permissions there are managed by databricks console or CLI so shell access have to be disabled to that folder as it could make security issues.
โ07-18-2022 03:02 AM
Hello. I am having the same issue but the difference is, that I use the integrated web-terminal in Azure Databricks.
The following call from the root folder :
ls Workspace/
throws the same error that has been mentioned in the original issue, namely :
ls: cannot open directory 'Workspace/': Resource temporarily unavailable
I am not convinced that this access is blocked by design, since Databricks oficially shows this in this example: https://docs.databricks.com/repos/work-with-notebooks-other-files.html#use-databricks-web-terminal-f...
Which configuration has to be made in order to make it available?
KR, Michal.
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