cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Issue with os and sys Operations in Repo Path on Databricks

pm71
New Contributor II

Hi,

Starting from today, I have encountered an issue when performing operations using the os and sys modules within the Repo path in my Databricks environment. Specifically, any operation that involves these modules results in a timeout error. However, when I use os.chdir or other os and sys operations outside of the Repo path, everything functions as expected.

Could you please assist in diagnosing and resolving this issue? It is impacting my workflow significantly, and I need a solution as soon as possible.

Thank you for your support and assistance.

4 REPLIES 4

jdev220999
New Contributor II

I think I am experiencing the same issue with workflows that need the internal cluster path to the cloned repo in the cluster. We are using the path to import additional methods for the job. Getting this error "BlockingIOError: [Errno 11] Resource temporarily unavailable: '/Workspace/Repos/.internal/....'"

mgradowski
New Contributor II

Error from FUSE process during `ls /Workspace`:

2024/06/26 11:15:39.286089 workspace.WARNING [CP] ResponseLogHook: databricks api https://westeurope-c2.azuredatabricks.net/api/2.0/workspace-files/list-files: 504 Gateway Timeout. body:{"error_code":"TEMPORARILY_UNAVAILABLE","message":"The service at /api/2.0/workspace-files/list-files is taking too long to process your request. Please try again later or try a faster operation. [TraceId: 00-0a794387a987fc4de1cb8a6b70214774-97e61adb2ab644d5-00]"}

mgradowski
New Contributor II

https://status.azuredatabricks.net/pages/incident/5d49ec10226b9e13cb6a422e/667c08fa17fef71767abda04

"Degraded performance" is a pretty mild way of saying almost nothing productve can be done ATM...

pm71
New Contributor II

Yep, just saw it. Nothing to do but waiting...

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!