[
https://issues.apache.org/jira/browse/TOREE-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15867071#comment-15867071
]
Luciano Resende commented on TOREE-384:
---------------------------------------
I have seen this when the kernel replies idle and Scala Interpreter hasn't been
initialized yet.
The fix below fixes the problem:
https://github.com/apache/incubator-toree/commit/e86ac46029a1f2cc588b7f4b16ccb037ae71003a
I'll merge to Master
> Erratic behavior with Toree - Scala kernel
> ------------------------------------------
>
> Key: TOREE-384
> URL: https://issues.apache.org/jira/browse/TOREE-384
> Project: TOREE
> Issue Type: Bug
> Affects Versions: 0.1.0
> Environment: RedHat7
> Reporter: Kun Liu
> Labels: compile-error, kernel, scala
> Attachments: Screen Shot 2017-02-14 at 4.13.53 PM.png
>
>
> When starting a Spark Scala kernel, it may throw a "compile error" even for a
> simple statement like sc.version, and there is no StackTrace displayed. See
> attachment. Also, the <console> line number is always "18".
> This error does not happen very often, and my workaround is to shutdown the
> notebook kernel and restart it. This may because the kernel is still unstable.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)