You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Akhilesh Anandh (JIRA)" <ji...@apache.org> on 2015/08/19 08:36:45 UTC

[jira] [Created] (ZEPPELIN-240) Restart spark interpreter automatically if spark context has been stopped

Akhilesh Anandh created ZEPPELIN-240:
----------------------------------------

             Summary: Restart spark interpreter automatically if spark context has been stopped
                 Key: ZEPPELIN-240
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-240
             Project: Zeppelin
          Issue Type: Improvement
            Reporter: Akhilesh Anandh


When an interpreter is loaded from `NoteInterpreterLoader`, if this is a `SparkInterpreter` and the spark context has terminated (say, due to `sc.stop()` being called), this interpreter is useless. Right now, the user needs to go to the interpreter settings and restart this group before it can be used. Restarting the spark interpreter creates a new spark context.

We can do this automatically. When we load a spark interpreter and the spark context has stopped, we can automatically restart it. The user can choose to enable or disable this automatic restart.


PR: [https://github.com/apache/incubator-zeppelin/pull/228]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)