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: 

Notebook fails in job but not in interactive mode

-werners-
Esteemed Contributor III

I have this notebook which is scheduled by Data Factory on a daily basis.

It works fine, up to today. All of a sudden I keep on getting NullpointerException when writing the data.

After some searching online, I disabled AQE. But this does not help.

The weird part is: when I run the notebook manually it does work.

So it seems something has changed in the scheduling of ADF or the job interface of Databricks?

Any idea in which direction I should look?

I also tried using fixed clusters (so no autoscaling), no spot instances, different dbrx-versions (9.0, 9,1, 10.0, 10.1).

3 REPLIES 3

-werners-
Esteemed Contributor III

After some tests it seems that if I run the notebook on an interactive cluster, I only get 80% of load (Ganglia metrics).

If I run the same notebook on a job cluster with the same VM types etc (so the only difference is interactive vs job), I get over 150% load => worker crash.

Weird.

Did you try on DBR 7.3 LTS? I think there was an issue with NPE that was affecting some versions but not 7.3.

-werners-
Esteemed Contributor III

Hm bizarre, it works fine now with any version.

Must have been some weird data or something.

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!