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:ย 

TimeoutException: Stream Execution thread for stream [xxxxxx]failed to stop within 15000 millisecond

User_1611
New Contributor

TimeoutException: Stream Execution thread for stream [id = xxx runId = xxxx] failed to stop within 15000 milliseconds (specified by spark.sql.streaming.stopTimeout). See the cause on what was being executed in the streaming query thread.

I have a databricks notebook which is triggered via ADF pipeline, it loads data from landing to azure delta and export to teradata tables.

Since last thurdsday am seeing the timeout expection 

Databricks Runtime :  9.1 LTS Photon (includes Apache Spark 3.1.2, Scala 2.12)

 

1 REPLY 1

shan_chandra
Esteemed Contributor

@User_1611  - could you please try the following ?

  • Reduce the number of streaming queries running on the same cluster
  • Make sure your code does not try to re-trigger/start an active streaming query
  • Make sure to collect the thread dumps if this error happens again in the future.  

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