Mark killed report generation job as failed

Details

Description

Report generation app uses the presence of _SUCCESS or _FAILURE files to determine the status of the report generation jobs. However, _FAILURE file may not be written if the Spark program is killed. When the Spark program initializes, it should mark those killed report generation jobs as failed.

Failure to mark these report status causes bad user experience, where it will show these reports to be generating when they are not.