英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论