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: 

Run failed with error message ContextNotFound

Karlo_Kotarac
New Contributor III

Hi all!

Recently we've been getting lots of these errors when running Databricks notebooks:

Karlo_Kotarac_0-1713422302017.png

At that time we observed DRIVER_NOT_RESPONDING (Driver is up but is not responsive, likely due to GC.) log on the single-user cluster we use.
Previously when this error appeared in cluster logs it was due to 2 things:
- The number of notebooks attached to that cluster was above the 145 limit, or
- The cluster driver memory was exhausted.

Lately, it seems that neither of these two things happens but our notebooks still fail.

Do you have any idea what might be the problem here?

4 REPLIES 4

jose_gonzalez
Databricks Employee
Databricks Employee

are you able to get the full error stack trace from the driver's logs? 

Unfortunately not for this event, but I will investigate these logs carefully next time when this error happens. Thnx!

Lakshay
Databricks Employee
Databricks Employee

You may also try to run the failing notebook on the job cluster

Karlo_Kotarac
New Contributor III

In case somebody else runs into the same issue: After investigation from Databricks support the conclusion was that the driver's memory was overloaded ('Driver Not Responding' error message in the event log) but it can happen that we don't get the complete metric and Spark UI details when this happens. This is probably why I didn't see in the metrics tab that driver memory was exhausted. The suggested solution can be found in the following link https://kb.databricks.com/en_US/jobs/driver-unavailable 

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