-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Currently we are using System.exit(0)
Without System.exit(0)
the shutdown will hang because there is lingering AKKA thread. To reproduce the issue, remove System.exit, you can write an error mapper and deploy the pipeline, you can see the mapper container doesn't get restarted immediately. Instead, it wait for numa container health check to determine it's not healthy and then terminate, which takes around 5 minutes to happen.
Another quick way to reproduce is simply to run the mapper/transformer server test from IDE. You can see the test succeeds but not stops. Generate a thread dump and you should see it's AKKA thread hanging.
Metadata
Metadata
Assignees
Labels
No labels