You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2019/06/01 23:33:00 UTC

[jira] [Commented] (TOREE-500) Failed to start Toree on Spark 2.4.2

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

Luciano Resende commented on TOREE-500:
---------------------------------------

I will take a look at this, but I am going to be slow due to day job workload... having said that, feel free to provide patches if you have some cycles. 

The ideal solution would be to produce scala 2.11 and 2.12 artifacts when performing a release.

> Failed to start Toree on Spark 2.4.2
> ------------------------------------
>
>                 Key: TOREE-500
>                 URL: https://issues.apache.org/jira/browse/TOREE-500
>             Project: TOREE
>          Issue Type: Bug
>          Components: Kernel
>    Affects Versions: 0.3.0
>         Environment: * Docker Container(openjdk8)
> * Python 3.5
>            Reporter: Masayuki Takahashi
>            Priority: Major
>
> {code}
> [I 04:07:48.726 NotebookApp] Kernel started: 1d46275c-71d6-4062-bc22-a98593d6c374
> Starting Spark Kernel with SPARK_HOME=/spark
> 19/05/05 04:07:53 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
> Exception in thread "main" java.lang.NoClassDefFoundError: scala/App$class
>         at org.apache.toree.Main$.<init>(Main.scala:24)
>         at org.apache.toree.Main$.<clinit>(Main.scala)
>         at org.apache.toree.Main.main(Main.scala)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
>         at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:849)
>         at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:167)
>         at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:195)
>         at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86)
>         at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:924)
>         at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:933)
>         at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
> Caused by: java.lang.ClassNotFoundException: scala.App$class
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> {code}
> Toree on Spark 2.4.1 works for me.
> See: https://github.com/jupyter/docker-stacks/issues/860



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)