spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "weijie.tong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-16068) ml model import jpmml which includes wrong jaxb-impl version 2.2.7
Date Tue, 21 Jun 2016 02:48:57 GMT

    [ https://issues.apache.org/jira/browse/SPARK-16068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340949#comment-15340949
] 

weijie.tong commented on SPARK-16068:
-------------------------------------

hi Sean Owen,at least I think we maybe need to update JPMML to a newer version in the ML pom.xml
to avoid this problem.

> 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
>            Priority: Minor
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message