You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Naveen Swamy (JIRA)" <ji...@apache.org> on 2017/12/13 21:59:00 UTC

[jira] [Created] (TOREE-459) Failure when adding a Jar.

Naveen Swamy created TOREE-459:
----------------------------------

             Summary: Failure when adding a Jar.
                 Key: TOREE-459
                 URL: https://issues.apache.org/jira/browse/TOREE-459
             Project: TOREE
          Issue Type: Bug
            Reporter: Naveen Swamy


I am trying to use toree with Spark 2.2.7(latest) and Scala 2.11 however when I add a jar it fails with the error below
{{
spark-2.2.7/jars/scala-library-2.11.8.jar(scala/reflect/package.class)' is broken
(class java.lang.RuntimeException/Scala class file does not contain Scala annotation)
error: error while loading package, class file '/spark-2.2.7/jars/scala-library-2.11.8.jar(scala/package.class)' is broken
(class java.lang.RuntimeException/Scala class file does not contain Scala annotation)
error: error while loading Serializable, class file '/spark-2.2.7/jars/scala-library-2.11.8.jar(scala/Serializable.class)' is broken
(class java.lang.RuntimeException/Scala class file does not contain Scala annotation)
res2: Either[org.apache.toree.magic.CellMagicOutput,org.apache.toree.magic.LineMagicOutput] = Right(())
error: error while loading Predef, class file '/spark-2.2.7/jars/scala-library-2.11.8.jar(scala/Predef.class)' is broken
(class java.lang.RuntimeException/Scala class file does not contain Scala annotation)
}}

The jar I am trying to add is:
%AddJar https://search.maven.org/remotecontent?filepath=ml/dmlc/mxnet/mxnet-full_2.11-osx-x86_64-cpu/0.9.3a/mxnet-full_2.11-osx-x86_64-cpu-0.9.3a.jar

Spark version 2.2.1
Scala version 2.11.8




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)