โ04-26-2023 02:25 PM
I'm getting cannot read python file on running this job which is configured to run a python script from git repo.
Run result unavailable: run failed with error message
Cannot read the python file /Repos/.internal/7c39d645692_commits/ff669d089cd8f93e98ccb96c513d5e675c2423f1/<Relative file path in git>
Please check driver logs for more details.
My question is why is it looking for the file internally (/Repos/.internal/) ?
โ04-26-2023 09:57 PM
@Divya Bhadauriaโ :
The error message suggests that Databricks is trying to read the Python file from a path that starts with /Repos/.internal/. This indicates that the Databricks job is not able to download the Python file from the git repo specified in the job configuration.
To troubleshoot this issue, you can try the following steps:
Once you have identified the issue, you can update the job configuration or make changes to the Databricks environment to resolve the issue.
โ04-30-2023 10:59 PM
Hi @Divya Bhadauriaโ
Hope everything is going great.
Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you.
Cheers!
โ05-01-2023 10:24 AM
Hi Vidula,
Yes, the above solution worked out for me. Tried debugging using all of the above steps and it turned out the path I was using in the job config was incorrect.
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.