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: 

Trigger.AvailableNow getting stuck when there is no event

fhmessas
New Contributor II

Hi, I have several streaming jobs, however one of them uses the Trigger.AvailableNow. The issue is that it gets stuck when there is no events or finishes ingesting all events. The expected behavior would be the job being shutdown.

I've already checked and there is no new messages in my SQS Queue.

I'm using scala and cluster 12.2 LTS

Driver: Standard_DS3_v2 · Workers: Standard_D8s_v3 · 2-8 workers · 12.2 LTS (includes Apache Spark 3.3.2, Scala 2.12)

Stuck streaming 

Has anyone seen this before?

2 REPLIES 2

jose_gonzalez
Databricks Employee
Databricks Employee

what is your source? what is your trigger value? have you check the driver logs for any WARN or ERROR messages while the job is running?

fhmessas
New Contributor II

Hi, the source is an S3 bucket using file notification with SQS.

No errors or warns in the logs, the AvailableNow trigger just gets stuck.

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