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

Naveen Swamy commented on TOREE-459:
------------------------------------

Thank you for quickly looking into this. 

I tried the link above and get a 403 now, however I can successfully download 
the jar with `wget`
```
(SQL,org.apache.toree.kernel.interpreter.sql.SqlInterpreter@66629f63)
17/12/14 14:57:06 WARN Main$$anon$1: No external magics provided to 
PluginManager!
17/12/14 14:57:08 WARN StandardComponentInitialization$$anon$1: Locked to Scala 
interpreter with SparkIMain until decoupled!
17/12/14 14:57:08 WARN StandardComponentInitialization$$anon$1: Unable to 
control initialization of REPL class server!
17/12/14 14:57:09 WARN NativeCodeLoader: Unable to load native-hadoop library 
for your platform... using builtin-java classes where applicable
17/12/14 14:57:15 WARN ScalaInterpreter: kernel variable: 
org.apache.toree.boot.layer.StandardComponentInitialization$$anon$1@c844d52
17/12/14 14:57:15 WARN ScalaInterpreter: Binding List(@transient implicit) 
kernel org.apache.toree.kernel.api.Kernel 
org.apache.toree.boot.layer.StandardComponentInitialization$$anon$1@c844d52
[W 14:57:17.204 NotebookApp] zmq message arrived on closed channel
[W 14:57:17.208 NotebookApp] zmq message arrived on closed channel
[W 14:57:17.248 NotebookApp] zmq message arrived on closed channel
[W 14:57:17.251 NotebookApp] zmq message arrived on closed channel
[W 14:57:19.149 NotebookApp] zmq message arrived on closed channel
[W 14:57:19.172 NotebookApp] zmq message arrived on closed channel
[W 14:57:20.066 NotebookApp] zmq message arrived on closed channel
17/12/14 14:57:20 WARN MagicManager: Magic AddJar failed to execute with error:
Server returned HTTP response code: 403 for URL: 
http://repo1.maven.org/maven2/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
res0: 
Either[org.apache.toree.magic.CellMagicOutput,org.apache.toree.magic.LineMagicOutput]
 =
Left(Map(text/plain -> Magic AddJar failed to execute with error:
Server returned HTTP response code: 403 for URL: 
http://repo1.maven.org/maven2/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))
17/12/14 14:57:20 WARN KernelOutputStream: Suppressing empty output: ''
[W 14:57:20.826 NotebookApp] zmq message arrived on closed channel
[W 14:57:20.830 NotebookApp] zmq message arrived on closed channel
[I 14:58:50.568 NotebookApp] Saving file at 
/nswamy/deepengine/workspace/incubator-mxnet/docs/tutorials/scala/MNIST 
Scala.ipynb
```

> 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
>            Assignee: Luciano Resende
>             Fix For: 0.2.0
>
>
> 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)

Reply via email to