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.
2,259 questions
{count} votes

2 answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,246 Reputation points
    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.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.