Spark jobs running on EMR cluster. system.exit(0) used to gracefully completion of job but still Step on EMR fails
<p>In spark job. I am using if file not found the system.exit(0). It should gracefully complete the job. Locally It is successfully completed. But when I am running on EMR. Step is failing.</p>