Databricks, al Crear DataFrame muestra Error : Path does not exist

Juan Antonio Soto Mata 0 Reputation points
2023-11-09T15:15:13.5833333+00:00

E creado el Punto de Montaje,

IMG_Data001.png

y al intentar crear el DataFrame obtengo el Error de Path does not exist.IMG_Data002.png

El archivo de datos se encuentra en la ruta expecificada : IMG_Data003.png

Llevo varios dias con este Error/Problema y no he podido solucionarlo, de antemano agradezco cualquier ayuda.

Atentamente.

ISC. Juan Antonio Soto

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,703 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 70,016 Reputation points Microsoft Employee
    2023-11-10T07:50:55.8+00:00

    @Juan Antonio Soto Mata - Thanks for the question and using MS QA platform.

    As per the error message provide "Path does not exist." which mean dataframe cannot access the path which you have provided.

    To resolve this issue, I would suggest you check if the path and permissions on the file which you are accessing by running the below command:

    dbutils.fs.ls("/mnt/raw-brounce/dbo.Crime_Data_from.txt")
    

    As per the repro, I'm able to access the file without any issues and able to load into dataframe as shown below:
    User's image

    In case, if you are having trouble creating a DataFrame in Azure Databricks. Can you please provide more information about the error message you are receiving? Also, can you confirm that you have mounted the correct path where the data file is located?

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


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.