AngersZhuuuu opened a new pull request, #37162:
URL: https://github.com/apache/spark/pull/37162

   ### What changes were proposed in this pull request?
   After discussing about https://github.com/apache/spark/pull/36207 and 
re-check the whole logic, we should revert  
https://github.com/apache/spark/pull/36207 and do some change
   
   1. If it's the last attempt, anyway yarn won't rerun the job, we can clean 
staging dir first then we can avoid remaining staging dir if unregister failed
   2. If it's not the last attempt and the final status is SUCCESS, if 
unregister failed, yarn can rerun the job again, we can't clean the staging dir 
before unregistering success.
   
   
   ### Why are the changes needed?
   Revert change and make it more accurate
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to