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 III

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 III

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...

Connect with Databricks Users in Your Area

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