【发布时间】:2022-08-14 17:47:35
【问题描述】:
许多人在安装 Azure DataLake 容器时遇到问题,而这个问题可能有多个根本原因。
configs = {\"fs.azure.account.auth.type\": \"OAuth\", \"fs.azure.account.oauth.provider.type\": \"org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider\", \"fs.azure.account.oauth2.client.id\": \"client_id\", \"fs.azure.account.oauth2.client.secret\": \"secret_value\", \"fs.azure.account.oauth2.client.endpoint\": \"https://login.microsoftonline.com/tenant_id/oauth2/token\"}
dbutils.fs.mount( 来源 = f\"abfss://aggregated@{account_name}.dfs.core.windows.net/\", mount_point = \"/mnt/aggregated\", extra_configs = 配置)
请注意错误信息。
ExecutionError:调用 o487.mount 时出错。 : 操作失败: \"此请求无权执行此操作。\", 403, HEAD, https://<account_name>.dfs.core.windows.net/aggregated/?upn=false&action=getAccessControl&timeout=90 在 shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsRestOperation.execute(AbfsRestOperation.java:246) 在 shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsClient.getAclStatus(AbfsClient.java:955) 在 shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsClient.getAclStatus(AbfsClient.java:937) 在 shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.getFileStatus(AzureBlobFileSystemStore.java:893)
标签: databricks azure-databricks azure-data-lake