weijie.tong created SPARK-16068:
-----------------------------------
Summary: ml model import jpmml which includes wrong jaxb-impl
version 2.2.7
Key: SPARK-16068
URL: https://issues.apache.org/jira/browse/SPARK-16068
Project: Spark
Issue Type: Bug
Components: ML, Spark Core
Affects Versions: 1.6.1
Reporter: weijie.tong
ml model import jpmml which includes wrong jaxb-impl version 2.2.7 ,the
com.sun.xml.bind.v2.model.annotation.RuntimeAnnotationReader interface extends
AnnotationReader which doesn't appears in jaxb-impl version 2.2.7, this
interface was packed in the assembly jar causing the spark application throw
exception,
Caused by: java.lang.NoClassDefFoundError:
com/sun/xml/bind/v2/model/annotation/AnnotationReader
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]