cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Moderator
Moderator

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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.