You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Lee moon soo (JIRA)" <ji...@apache.org> on 2015/11/30 13:21:10 UTC

[jira] [Created] (ZEPPELIN-474) Let 3rd party library have access to InterpreterContext

Lee moon soo created ZEPPELIN-474:
-------------------------------------

             Summary: Let 3rd party library have access to InterpreterContext
                 Key: ZEPPELIN-474
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-474
             Project: Zeppelin
          Issue Type: New Feature
    Affects Versions: 0.5.5
            Reporter: Lee moon soo
            Assignee: Lee moon soo
            Priority: Minor
             Fix For: 0.6.0


InterpreterContext provides informations about current notebook id, paragraph id, content of paragraph, methods for angular display, methods for run other paragraphs, and so on.

Any interpreter can use InterpreterContext, while an instance of InterpreterContext is passed to most interpreter methods as a parameter. ie interpret(), cancel() ...

Also InterpreterContext is available through z.getInterpreterContext() in SparkInterpreter, for user interaction.

User sometimes want to package their favorite routine and package as a library. For example SparkInterpreter can load and run 3rd party library.

However, in this case, there're no way to access InterpreterContext from those library.



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