โ11-23-2022 05:43 AM
I have two github repo configured in Databricks Repos folder.
repo_1 is run using a job and repo_2 is run/called from repo_1 using Dbutils.notebook.run command.
dbutils.notebook.run("/Repos/repo_2/notebooks/notebook", 0, args)
i am getting the following error
WorkflowException: com.databricks.NotebookExecutionException: FAILED: Notebook not found: Repos/repo_2/notebooks/notebook
Caused by: NotebookExecutionException: FAILED: Notebook not found: Repos/repo_2/notebooks/notebook
โ11-23-2022 06:59 AM
Hi @Danny Davisโ ,
Can you please confirm if you have a notebook in that folder ?
Ideally the path should be in this format if I'm not wrong..
'/Workspace/Repos/<username>/<notebookname>'
If that does not work, please try giving relative paths and check if it works.
Hope this helps...Cheers.
โ11-23-2022 07:31 AM
@Uma Maheswara Rao Desulaโ
I ran the same command from a notebook. It ran Successfully.
dbutils.notebook.run("/Repos/repo_2/notebooks/notebook", 0, args)
But doesn't work from one repo to other repo..
โ11-23-2022 07:37 AM
Can you please try giving the full path as mentioned above โ
'/Workspace/Repos/<username>/<notebookname>'
If this does not work also please try using relative paths and let me know if issue still persists.
โ11-23-2022 07:07 AM
hi @Danny Davisโ plz check your notebook should br present in that path and mention correct path
โ11-23-2022 07:31 AM
@Yogita Chavanโ
I ran the same command from a notebook. It ran Successfully.
dbutils.notebook.run("/Repos/repo_2/notebooks/notebook", 0, args)
But doesn't work from one repo to other repo..
โ04-15-2024 06:03 AM
I am having a similar issue...
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group