deshanxiao opened a new pull request #23857: update
URL: https://github.com/apache/spark/pull/23857
 
 
   ## What changes were proposed in this pull request?
   
   Yarn attemps the failed App depending on YarnRMClient#unregister. However, 
some attemps are meaningless like the example:
   
   ```
   sc.parallelize(Seq(1,2,3)).map(_ => throw new 
RuntimeException("exception")).collect()
   ```
   
   Attemps when "FileNorFoundException" is thrown in user code looks 
meaningless too.
   
   Some environment problems, such as node dead or network disconnect, attemps 
reasonablely. 
   
   This pr is to let yarn not retry when user exception is thown.
   
   ## How was this patch tested?
   Exist Test
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to