I export my databricks workspace directory (/Users/xyz/) contents which has several python notebooks and scripts onto a databricks specific location for e.g. /dbfs/tmp and then try to call the following code to run a python notebook named xyz.py from the exported location as follows:
dbutils.notebook.run("/dbfs/tmp/xyz", timeout_seconds=1200)
OR
dbutils.notebook.run("dbfs:/tmp/xyz", timeout_seconds=1200)
OR
dbutils.notebook.run("../../tmp/xyz", timeout_seconds=1200)
dbutils always does not able to find the notebook path and gives following exception:
com.databricks.WorkflowException: com.databricks.NotebookExecutionException: Unknown state: Notebook not found: /dbfs:/tmp/xyz
Though if I check the same dbfs path for the notebook existence then I can see the notebook has been placed.
How can I run the dbutils.notebook.run statement with a specific location from databricks?