Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 26BDC200B35 for ; Tue, 21 Jun 2016 04:49:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 253BD160A55; Tue, 21 Jun 2016 02:49:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7089C160A65 for ; Tue, 21 Jun 2016 04:48:59 +0200 (CEST) Received: (qmail 42719 invoked by uid 500); 21 Jun 2016 02:48:58 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 42688 invoked by uid 99); 21 Jun 2016 02:48:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 02:48:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F35552C1F61 for ; Tue, 21 Jun 2016 02:48:57 +0000 (UTC) Date: Tue, 21 Jun 2016 02:48:57 +0000 (UTC) From: "weijie.tong (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-16068) ml model import jpmml which includes wrong jaxb-impl version 2.2.7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Jun 2016 02:49:00 -0000 [ 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