[jira] [Commented] (TOREE-272) Jupyter Notebook works; Console is broken / hangs
[ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248466#comment-15248466 ] Chip Senkbeil commented on TOREE-272: - See https://github.com/apache/incubator-toree/pull/27 > Jupyter Notebook works; Console is broken / hangs > - > > Key: TOREE-272 > URL: https://issues.apache.org/jira/browse/TOREE-272 > Project: TOREE > Issue Type: Bug >Affects Versions: 0.1.0 > Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c > Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew >Reporter: Seth Bromberger >Priority: Blocker > Fix For: 0.1.0 > > > Jupyter notebook will successfully use Toree as a kernel, but Jupyter console > hangs on the first evaluation of code. Example logs / sessions are here: > https://gist.github.com/sbromberger/8a43f79eee08f4268515 > https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4 > Without Console, integration with Atom editor via Hydrogen is broken. Plus, > it's nice to have a REPL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TOREE-272) Jupyter Notebook works; Console is broken / hangs
[ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248410#comment-15248410 ] Gino Bustelo commented on TOREE-272: Seems to be caused by `comm_info_request`. Toree does not implement this message. Exceptions was 16/04/19 17:50:33 [INFO] D.Datastore - The class "org.apache.hadoop.hive.metastore.model.MResourceUri" is tagged as "embedded-only" so does not have its own datastore table. 16/04/19 17:50:36 [ERROR] a.d.Dispatcher - None.get java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:313) at scala.None$.get(Option.scala:311) at scala.Enumeration.withName(Enumeration.scala:132) at org.apache.toree.kernel.protocol.v5.relay.KernelMessageRelay.org$apache$toree$kernel$protocol$v5$relay$KernelMessageRelay$$incomingRelay(KernelMessageRelay.scala:82) at org.apache.toree.kernel.protocol.v5.relay.KernelMessageRelay$$anonfun$receive$1$$anonfun$applyOrElse$2.apply(KernelMessageRelay.scala:135) at org.apache.toree.kernel.protocol.v5.relay.KernelMessageRelay$$anonfun$receive$1$$anonfun$applyOrElse$2.apply(KernelMessageRelay.scala:133) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55) at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91) at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91) at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91) at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72) at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) > Jupyter Notebook works; Console is broken / hangs > - > > Key: TOREE-272 > URL: https://issues.apache.org/jira/browse/TOREE-272 > Project: TOREE > Issue Type: Bug >Affects Versions: 0.1.0 > Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c > Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew >Reporter: Seth Bromberger >Priority: Blocker > Fix For: 0.1.0 > > > Jupyter notebook will successfully use Toree as a kernel, but Jupyter console > hangs on the first evaluation of code. Example logs / sessions are here: > https://gist.github.com/sbromberger/8a43f79eee08f4268515 > https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4 > Without Console, integration with Atom editor via Hydrogen is broken. Plus, > it's nice to have a REPL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TOREE-272) Jupyter Notebook works; Console is broken / hangs
[ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248303#comment-15248303 ] Gino Bustelo commented on TOREE-272: This is not higher priority since the problem is seen on Jupyter notebook 4.2. Not sure yet if it only happens on a vanilla 4.2 or if it is caused by IPywidgets 5.0. > Jupyter Notebook works; Console is broken / hangs > - > > Key: TOREE-272 > URL: https://issues.apache.org/jira/browse/TOREE-272 > Project: TOREE > Issue Type: Bug >Affects Versions: 0.1.0 > Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c > Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew >Reporter: Seth Bromberger >Priority: Blocker > Fix For: 0.1.0 > > > Jupyter notebook will successfully use Toree as a kernel, but Jupyter console > hangs on the first evaluation of code. Example logs / sessions are here: > https://gist.github.com/sbromberger/8a43f79eee08f4268515 > https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4 > Without Console, integration with Atom editor via Hydrogen is broken. Plus, > it's nice to have a REPL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TOREE-272) Jupyter Notebook works; Console is broken / hangs
[ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182302#comment-15182302 ] Seth Bromberger commented on TOREE-272: --- Let me know if there's anything I can do to help test. > Jupyter Notebook works; Console is broken / hangs > - > > Key: TOREE-272 > URL: https://issues.apache.org/jira/browse/TOREE-272 > Project: TOREE > Issue Type: Bug >Affects Versions: 0.1.0 > Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c > Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew >Reporter: Seth Bromberger > > Jupyter notebook will successfully use Toree as a kernel, but Jupyter console > hangs on the first evaluation of code. Example logs / sessions are here: > https://gist.github.com/sbromberger/8a43f79eee08f4268515 > https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4 > Without Console, integration with Atom editor via Hydrogen is broken. Plus, > it's nice to have a REPL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TOREE-272) Jupyter Notebook works; Console is broken / hangs
[ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172323#comment-15172323 ] Chip Senkbeil commented on TOREE-272: - [~lbustelo], the issue is two fold: # The kernel does not handle unexpected message types gracefully when it invokes {code}MessageType.fromName(blah){code}, where MessageType is an enumeration. It blows up when we use it; so, we should have some check and provide some warning or error in the kernel logs. Not sure how to respond to the client. # We do not have the code completeness message type included in our kernel at all. This is probably used just for the console, otherwise we would have seen this issue much earlier. http://ipython.org/ipython-doc/stable/development/messaging.html#code-completeness > Jupyter Notebook works; Console is broken / hangs > - > > Key: TOREE-272 > URL: https://issues.apache.org/jira/browse/TOREE-272 > Project: TOREE > Issue Type: Bug >Affects Versions: 0.1.0 > Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c > Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew >Reporter: Seth Bromberger > > Jupyter notebook will successfully use Toree as a kernel, but Jupyter console > hangs on the first evaluation of code. Example logs / sessions are here: > https://gist.github.com/sbromberger/8a43f79eee08f4268515 > https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4 > Without Console, integration with Atom editor via Hydrogen is broken. Plus, > it's nice to have a REPL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TOREE-272) Jupyter Notebook works; Console is broken / hangs
[ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171980#comment-15171980 ] Seth Bromberger commented on TOREE-272: --- Note that the old spark-kernel would create that zmq error as well but evaluation would be unaffected. > Jupyter Notebook works; Console is broken / hangs > - > > Key: TOREE-272 > URL: https://issues.apache.org/jira/browse/TOREE-272 > Project: TOREE > Issue Type: Bug >Affects Versions: 0.1.0 > Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c > Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew >Reporter: Seth Bromberger > > Jupyter notebook will successfully use Toree as a kernel, but Jupyter console > hangs on the first evaluation of code. Example logs / sessions are here: > https://gist.github.com/sbromberger/8a43f79eee08f4268515 > https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4 > Without Console, integration with Atom editor via Hydrogen is broken. Plus, > it's nice to have a REPL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TOREE-272) Jupyter Notebook works; Console is broken / hangs
[ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171936#comment-15171936 ] Gino Bustelo commented on TOREE-272: http://lists.zeromq.org/pipermail/zeromq-dev/2013-September/022705.html > Jupyter Notebook works; Console is broken / hangs > - > > Key: TOREE-272 > URL: https://issues.apache.org/jira/browse/TOREE-272 > Project: TOREE > Issue Type: Bug >Affects Versions: 0.1.0 > Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c > Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew >Reporter: Seth Bromberger > > Jupyter notebook will successfully use Toree as a kernel, but Jupyter console > hangs on the first evaluation of code. Example logs / sessions are here: > https://gist.github.com/sbromberger/8a43f79eee08f4268515 > https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4 > Without Console, integration with Atom editor via Hydrogen is broken. Plus, > it's nice to have a REPL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)