You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/21 11:35:49 UTC

[GitHub] deshanxiao opened a new pull request #23857: update

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:
users@infra.apache.org


With regards,
Apache Git Services

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