Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toree Jupyter Kernel #20

Open
ucrkarthik opened this issue Mar 30, 2016 · 0 comments
Open

Toree Jupyter Kernel #20

ucrkarthik opened this issue Mar 30, 2016 · 0 comments

Comments

@ucrkarthik
Copy link

Will lightning work with the Apache Toree Jupyter Kernel? Toree allows Jupyter the ability to run Spark commands. It works with both Scala and Python(PySpark).

Here is the Toree GitHub:
https://github.com/apache/incubator-toree/blob/master/README.md

When I add the lightning-scala Jar in Jupyter I get an error. Here is the command I run
%addJar file:/Users/kvenkatesa/dev/lightning-scala/target/scala-2.10/lightning-scala-assembly-0.1.0-SNAPSHOT.jar

I get the following error in the Jupyter log:
error: error while loading package, class file '/Users/kvenkatesa/spark-1.6.1/assembly/target/scala-2.10/spark-assembly-1.6.1-hadoop2.2.0.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 '/Users/kvenkatesa/spark-1.6.1/assembly/target/scala-2.10/spark-assembly-1.6.1-hadoop2.2.0.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 '/Users/kvenkatesa/spark-1.6.1/assembly/target/scala-2.10/spark-assembly-1.6.1-hadoop2.2.0.jar(scala/Serializable.class)' is broken
(class java.lang.RuntimeException/Scala class file does not contain Scala annotation)
error: error while loading Unit, class file '/Users/kvenkatesa/spark-1.6.1/assembly/target/scala-2.10/spark-assembly-1.6.1-hadoop2.2.0.jar(scala/Unit.class)' is broken
(class java.lang.RuntimeException/Scala class file does not contain Scala annotation)
res0: Either[org.apache.toree.magic.CellMagicOutput,org.apache.toree.magic.LineMagicOutput] = Right(())
16/03/30 16:07:36 [WARN] o.a.t.k.p.v.s.KernelOutputStream - Suppressing empty output: ''

I built spark 1.6.1 with hadoop 2.2.0 version since the error was looking for hadoop 2.2.0.

Thanks,
K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant