Databricks: Download a dbfs:/FileStore File to my Local Machine?

前端 未结 2 1998
无人及你
无人及你 2021-01-14 18:42

I am using saveAsTextFile() to store the results of a Spark job in the folder dbfs:/FileStore/my_result.

I can access to the different \"part-xxxxx\" files using the

2条回答
  •  终归单人心
    2021-01-14 18:55

    Using browser, you can access to individual file in File Store. You cannot access or even list directories. So you first have to put some file into the file store. If you've got a file "example.txt" at "/FileStore/example_directory/", you can download it via the following URL:

    https://community.cloud.databricks.com/files/example_directory/example.txt?o=###

    In that URL, "###" has to be replaced by the long number you find at the end of your community edition URL (after you logged into your community edition account).

    Add comment · Share

提交回复
热议问题