How to access DBFS datta using REST API

Vineet Sajwan 1 Reputation point
2020-07-02T02:27:32.813+00:00

Hi,

I want to access DBFS data from outside the databricks using API with the help of python code. How can I do that

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,070 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 85,346 Reputation points Microsoft Employee
    2020-07-02T08:24:17.347+00:00

    @Vineet Sajwan ,

    Unfortunately, there's no python-specific client to interact with DBFS.

    You can access DBFS objects using the DBFS CLI, DBFS API, Databricks file system utilities (dbutils.fs), Spark APIs, and local file APIs.

    In a Spark cluster you access DBFS objects using Databricks file system utilities, Spark APIs, or local file APIs.

    On a local computer you access DBFS objects using the Databricks CLI or DBFS API.

    Reference: Azure Databricks – Access DBFS

    OR

    DBFS Explorer was created as a quick way to upload and download files to the Databricks filesystem (DBFS). This will work with both AWS and Azure instances of Databricks. You will need to create a bearer token in the web interface in order to connect.

    Hope this helps. Do let us know if you any further queries.

    ----------------------------------------------------------------------------------------

    Do click on "Accept Answer" and Upvote on the post that helps you, this can be beneficial to other community members.