You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Christian Fries (JIRA)" <ji...@apache.org> on 2017/04/16 00:16:41 UTC
[jira] [Created] (ZEPPELIN-2406) Unable to abort scala code
Christian Fries created ZEPPELIN-2406:
-----------------------------------------
Summary: Unable to abort scala code
Key: ZEPPELIN-2406
URL: https://issues.apache.org/jira/browse/ZEPPELIN-2406
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-server
Affects Versions: 0.8.0
Environment: macOS Sierra
Reporter: Christian Fries
Runnnig the following Scala code (running in an infinite loop), it is not possible to aboard the job:
{code}
object TimerAnonymous {
def oncePerSecond(callback: () => Unit) {
while (true) { callback(); Thread sleep 1000 } };
def main(args: Array[String]) { oncePerSecond(() =>
println("time flies like an arrow...")) };
};
TimerAnonymous.main(Array())
{code}
(The code is taken from a Scala tutorial)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)