[
https://issues.apache.org/jira/browse/TOREE-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luciano Resende resolved TOREE-389.
-----------------------------------
Resolution: Fixed
Assignee: Ryan Blue
Fix Version/s: 0.2.0
Closing as PR #108 is already merged. Please reopen if there are any other
items still in progress.
> Scala interpreter hangs if Spark is referenced before it is bound
> -----------------------------------------------------------------
>
> Key: TOREE-389
> URL: https://issues.apache.org/jira/browse/TOREE-389
> Project: TOREE
> Issue Type: Bug
> Reporter: Ryan Blue
> Assignee: Ryan Blue
> Fix For: 0.2.0
>
>
> Some users run cells in a notebook before the kernel is finished starting.
> The messages are queued and run after the KernelMessageRelay is enabled, but
> any messages that reference {{spark}} or bound variables cause IMain to throw
> an exception. That exception causes the interpreter to hang.
> It seems odd that a missing variable reference causes IMain to throw an
> exception, so there may be a threading issue, a race between binding
> {{spark}} and the cell that references it.
> The problem can be avoided by moving {{postInit}} tasks into init.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)