Many errors don't lead to graceful exits
Fail fast is desirable, truly unexpected errors should terminate data processing, but currently can lead to zombie threads and maybe also memory leaks.
Proposal: Report fatal errors to the StatsController
and let it stop all threads through the stop flag, then graceful exit.
Proposal is implemented.
-
Also handle in a cleaner way: File not found exception
Edited by Marc Konig