title: Yarn - Why application attempt twice?
body: <p>I made spark application which throw a error on purpose. When I ran this application on hadoop yarn, It always tried two times.</p>
  
  <p>I want to run a application just once, not twice.</p>
  
  <p><a href="https://i.stack.imgur.com/w4fGH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w4fGH.png" alt="enter image description here"></a></p>