cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Knowledge Sharing Hub
Dive into a collaborative space where members like YOU can exchange knowledge, tips, and best practices. Join the conversation today and unlock a wealth of collective wisdom to enhance your experience and drive success.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Monitoring a Streaming Job

NandiniN
Honored Contributor
Honored Contributor

If you have a streaming job, you need to check the batch metrics to be able to understand the stream progress.

However, here are some other suggestions which we can use to monitor a streaming job and be stuck in a "hung" state.

  1. Streaming Listeners 
  2. spark.databricks.hangingTaskDetector.assumeTaskMakingProgressForZeroMetrics to false (Default=true).
  3.  If it is a stateless stream, we can also turn on spark.speculation by setting it to true.
  4. Set job notifications.

And of course don't forget to collect a thread dump, before you cancel the stream and raise a support ticket to investigate further.

0 REPLIES 0
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!