creating a _SUCCESS file in output directories only if all hadoop jobs are successful