Azure Databricks: 查找云存储位置

huangapple go评论47阅读模式
英文:

Azure Databricks: Find Cloud Storage Location

问题

我有一个 Databricks 工作区,想要找到 Databricks 存储表数据的存储位置(存储账户名称 + 容器名称)。

我知道默认位置是在创建 Databricks 服务时创建的存储账户。我可以在哪里看到 DBFS Root 的存储位置?

英文:

I have a databricks workspace and want to find the storage location (storage account name + container name) where Databricks stores e.g. the table data.

I know that the default location is the storage account created when a databricks service is created. Where can I see that storage location of DBFS Root?

答案1

得分: 0

每个工作空间都有managedResourceGroupId属性,它是托管资源组的资源ID,该资源组包含一个存储帐户。您需要查看此资源组以查找创建的存储帐户,或者还可以查看Databricks工作空间定义的parameters部分内的storageAccountName参数 - 它将提供确切的存储帐户名称。如果需要,所有这些都可以通过ARM API完成。

但请注意,您只能从工作空间内部访问DBFS根存储帐户上的数据 - 除了Azure Databricks服务,没有人可以访问该数据。

英文:

Each workspace has the managedResourceGroupId property that is resource ID of the managed resource group that holds a storage account. You need to look inside this resource group to find the created storage account, or also look into the storageAccountName parameter inside of the parameters section of Databricks workspace definition - it will give you an exact storage account name. All of this could be done via ARM API if required.

But take into account that you can access data on DBFS root storage account only from the inside of the workspace - nobody can access that data except the Azure Databricks service.

huangapple
  • 本文由 发表于 2023年5月18日 00:19:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/76274214.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定