You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "nirav patel (JIRA)" <ji...@apache.org> on 2017/04/08 23:04:41 UTC

[jira] [Created] (ZEPPELIN-2376) Interpreters - Need better sharing mode that promotes code re-usability, modulerizations

nirav patel created ZEPPELIN-2376:
-------------------------------------

             Summary: Interpreters - Need better sharing mode that promotes code re-usability, modulerizations
                 Key: ZEPPELIN-2376
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2376
             Project: Zeppelin
          Issue Type: Improvement
          Components: Interpreters, zeppelin-interpreter
            Reporter: nirav patel
            Priority: Critical


Currently zeppelin interpreter supports shared, scope and isolation mode which are good at high level but when you have a set of notebook and want to re-use code none of this are ideal . Here's why
1) shared - compiler treat all interpreter paragraphs across all notebooks as one unit . This causes overriding of variables with out knowledge (because you don't get any compile time error; nor paragraph has no ability to compiled and give user error if variable is already used in other notebook). Hard to debug problems and requires careful consideration of not duplicating any variables across notebooks.
2) scope - different compilers for different notebook but now you can't share code. Everything has to be in one notebook. This doesn't scale well  
3) Isolation - NA for this issue.

I think we need ability to import certain notebooks so we can re-use code with out stepping on someone elses notebook variables. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)