โ10-05-2023 03:14 AM
Is it possible to show the full logs of a databricks job? Currently, the logs are skipped with:
*** WARNING: max output size exceeded, skipping output. ***
However, I don't believe our log files are more than 20 MB. I know you can press the logs button and view the full logs there. However, due to admin rights we would like to be able to read all logs in the job overview, without having access to the logs (and therefore other) button(s).
โ03-14-2025 12:17 AM
Hey Kaz
Where did you get that ?
โ04-28-2025 02:38 PM
I am having the same problem as Kaz. What's weird is I have another cluster where that doesn't happen. I didn't set up the other cluster but wondered if it had some sort of setting for this that I could change.
โ05-07-2025 05:24 AM
Hey @Kaz ,
Unfortunately, the output truncation limit in the Databricks job UI cannot be changed. Once that limit is exceeded, the rest of the logs are skipped, and the full logs become accessible only through the โLogsโ button, which, as you mentioned, requires elevated permissions that might not be available in your case. You could ask for "Can View" permissions
A good workaround, especially when access to cluster logs is restricted, is to redirect important log output to a Unity Catalog volume during the job execution. This allows you to bypass the UI limitations and store the logs in a location that can be accessed later through standard permissions.
By writing logs to a volume, you:
Avoid losing output due to UI truncation
Persist logs in a governed and centralized location
Maintain separation from cluster internals โ users can read the logs without needing access to the job or cluster itself
"Delivering logs to volumes is in Public Preview and is only supported on Unity-Catalog-enabled compute with Standard access mode or Dedicated access mode assigned to a user. This feature is not supported on compute with Dedicated access mode assigned to a group. If you select a volume as the path, ensure you have the READ VOLUME and WRITE VOLUME permissions on the volume"
https://learn.microsoft.com/en-us/azure/databricks/compute/configure#cluster-log-delivery
Hope this helps ๐
Isi
3 weeks ago
Any news on this topic?
Have the limits on the notebook-cell-log output been resolved?
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now