【发布时间】:2019-08-06 23:00:03
【问题描述】:
我已成功将 Blob 存储挂载到 Databricks,并且在运行 dbutils.fs.ls("/mnt/") 时可以看到定义的挂载点。这有size=0 - 不清楚这是否是预期的。
当我尝试运行 dbutils.fs.ls("/mnt/<mount-name>") 时,我收到以下错误:
java.io.FileNotFoundException: / is not found
当我尝试使用 dbutils.fs.put("/mnt/<mount-name>/1.txt", "Hello, World!", True) 将简单文件写入已安装的 blob 时,我收到以下错误(为便于阅读而缩短):
ExecutionError: An error occurred while calling z:com.databricks.backend.daemon.dbutils.FSUtils.put. : shaded.databricks.org.apache.hadoop.fs.azure.AzureException: java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details.
...
Caused by: com.microsoft.azure.storage.StorageException: The specified resource does not exist.
所有数据都在 Blob 容器的根目录下,所以我没有在 dbutils.fs.mount 代码中定义任何文件夹结构。
思考的表情符号
【问题讨论】:
标签: azure pyspark databricks azure-databricks