[ https://issues.apache.org/jira/browse/SPARK-20547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991794#comment-15991794 ]
Shixiong Zhu edited comment on SPARK-20547 at 5/1/17 11:37 PM: --------------------------------------------------------------- This is a reproducer: https://github.com/zsxwing/spark/commit/993b6d24d935cf489fdf643ef4266c239028d6e4 was (Author: zsxwing): This is a reproducer: https://github.com/apache/spark/compare/master...zsxwing:SPARK-20547?expand=1 > ExecutorClassLoader's findClass may not work correctly when a task is > cancelled. > -------------------------------------------------------------------------------- > > Key: SPARK-20547 > URL: https://issues.apache.org/jira/browse/SPARK-20547 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 2.1.0, 2.2.0 > Reporter: Shixiong Zhu > Priority: Blocker > > ExecutorClassLoader's findClass may throw some transient exception. For > example, when a task is cancelled, if ExecutorClassLoader is running, you may > see InterruptedException or IOException, even if this class can be loaded. > Then the result of findClass will be cached by JVM, and later when the same > class is being loaded (note: in this case, this class may be still loadable), > it will just throw NoClassDefFoundError. > We should make ExecutorClassLoader retry on transient exceptions. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org