Frank Rosner created ZEPPELIN-2124:
--------------------------------------

             Summary: Missing dependencies array in interpreter.json after 
upgrade from 0.6.2 to 0.7.0
                 Key: ZEPPELIN-2124
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2124
             Project: Zeppelin
          Issue Type: Bug
          Components: conf
    Affects Versions: 0.7.0
            Reporter: Frank Rosner


h4. Problem

We upgraded our Zeppelin instance from 0.6.2 to 0.7.0 today and after that we 
were not able to add any new dependencies to the interpreters.

The JS console revealed that {{a.dependencies is undefined}}. This happens 
because the interpreter configuration ({{interpreter.json}} now has to contain 
a {{dependencies}} array, which was not the case in 0.6.2.

After adding {{dependencies: [],}} to {{interpreter.json}} it is working just 
fine.

h4. Solution

If the {{dependencies}} array is not present it should either assume that it is 
empty or fail fast. It should not throw invisible errors in JavaScript.



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

Reply via email to