You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/05/27 22:16:13 UTC
[jira] [Assigned] (SPARK-15622) Janino's classloader has an
unexpected behavior when its parent classloader throws an
ClassNotFoundException with a cause set
[ https://issues.apache.org/jira/browse/SPARK-15622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-15622:
------------------------------------
Assignee: Yin Huai (was: Apache Spark)
> Janino's classloader has an unexpected behavior when its parent classloader throws an ClassNotFoundException with a cause set
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-15622
> URL: https://issues.apache.org/jira/browse/SPARK-15622
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Yin Huai
> Assignee: Yin Huai
> Priority: Critical
>
> At https://github.com/aunkrig/janino/blob/janino_2.7.8/janino/src/org/codehaus/janino/ClassLoaderIClassLoader.java#L80-L85, Janino's classloader throws the exception when its parent throws a ClassNotFoundException with a cause set. However, it does not throw the exception when there is no cause set. Seems we need to create a special ClassLoader to wrap the actual parent classloader set to Janino handle this behavior.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org