我正在尝试将 Azure Blob 存储容器挂载到 DBFS。实现如下。得到以下错误。不知道为什么我收到错误 您是否删除了挂载点的 AWS 密钥? 当我尝试连接到 azure blob 存储时。
我在这里有什么遗漏吗?你能帮我解决这个问题吗 - 谢谢 -
代码实现
dbutils.fs.mount(
source = "wasbs://<container-name>@<storage-account-name>.blob.core.windows.net",
mount_point = "/mnt/iotdata",
extra_configs = {"fs.azure.account.key.<storage-account-name>.blob.core.windows.net":dbutils.secrets.get(scope = "<scope-name>", key = "<key-name>")})
错误
ExecutionError: An error occurred while calling o275.mount.
: com.databricks.backend.daemon.data.common.InvalidMountException: The backend could not get session tokens for path /mnt. Did you remove the AWS key for the mount point?
at com.databricks.backend.daemon.data.common.InvalidMountException$.apply(DataMessages.scala:612)
at com.databricks.backend.daemon.data.filesystem.MountEntryResolver.resolve(MountEntryResolver.scala:84)