Github user WangTaoTheTonic commented on the pull request:

    https://github.com/apache/spark/pull/3942#issuecomment-69304668
  
    @tgravescs 
    I've tested it on my cluster with `yarn.resourcemanager.am.max-attempts=2` 
and set `spark.yarn.maxAppAttempts` to 1,2,3.
    Before this patch, with `spark.yarn.maxAppAttempts=3`, the stage directory 
was not deleted, which means unregister has not happend.
    After this patch, in all cases the stage directory was deleted.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to