How i can stop Spark to stop triggering second attempt in case the first fails. I do not want to wait for the second attempt to fail again so that i can debug faster.
.set("spark.yarn.maxAppAttempts", "0") OR .set("spark.yarn.maxAppAttempts", "1") is not helping. -- Deepak