[英]Mounting Azure Data lake Gen2 with Databricks /mnt
I have mounted my Azure Data lake Gen2 with Databricks and the mount was done successfully.我已经使用 Databricks 安装了我的 Azure Data lake Gen2 并且安装成功完成。 The problem is that I got this error ( FileNotFoundException: / is not found ).
问题是我收到了这个错误(FileNotFoundException: / is not found)。 This is my command using Scala to mount.
这是我使用 Scala 挂载的命令。
**###
dbutils.fs.mount(
source = "wasbs://XXXXXXXX@YYYYYYYYYYYY.blob.core.windows.net",
mountPoint = "/mnt/",
extraConfigs = Map("fs.azure.sas.XXXXXXXX.YYYYYYYYYYYY.blob.core.windows.net" -> dbutils.secrets.get(scope = "SCOPENAME", key = "SCOPEKEY")))
###**
I have created the Scope secrets in data bricks and linked them with Blob storage in Azure.我在数据块中创建了 Scope 秘密,并将它们与 Azure 中的 Blob 存储链接起来。
I am also executing this command:我也在执行这个命令:
dbutils.secrets.get(scope = "SCOPENAME", key = "SCOPEKEY")
and I am getting that they are mounted: String = [REDACTED]我知道它们已安装:String = [已编辑]
What was something wrong I did?我做错了什么? Can anyone help?
谁能帮忙?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.