Cannot %run notebook using relative path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 07:55 AM
In the root of my workspace, I have the following folder structure set up:
/foo
/ ETL
/ setup
/ utilities
From a notebook in /foo/ETL or /foo/setup, if I try to %run a notebook in /foo/utilities by giving the relative path ../utilities/<x>, I get an error "Permission denied: Forbidden". However, I am able to %run a notebook by giving the absolute path /foo/utilities/<x>.
If I clone this whole structure into my user folder, I also get the same error when trying to use the relative path to refer to my other notebook.
Does anyone have any idea what might be going on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 08:38 AM
Hello @DManowitz-BAH ,
Hope you are doing great, I tried to replicate this behavior on 12.2 LTS runtime and didn't get any errors for the same folder/workspace structure..
Can you share the cluster configuration details so I can mimic exactly the same setup you have so I can replicate the issue and recommend a solution?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 12:57 PM
I am on AWS, running a cluster with Databricks runtime 10.4 LTS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:01 PM
Hello @DManowitz-BAH I also tried in 10.4 LTS and the issue is not replicatable (shown below)
Is it possible scripts in utilities are referencing other files that you may not have access to?