Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ZEPPELIN-2124] Missing dependencies array in interpreter.json after upgrade from 0.6.2 to 0.7.0 #2142

Closed
wants to merge 1 commit into from

Conversation

minahlee
Copy link
Member

What is this PR for?

If there is no dependencies field specified in interpreter.json, front-end throws error because it tries to push new element to undefined variable. This PR fixes this issue by setting initial value of dependencies to empty array.

What type of PR is it?

Bug Fix

What is the Jira issue?

ZEPPELIN-2124

How should this be tested?

Remove dependencies field from conf/interpreter.json and try to add new dependencies in http://localhost:8080/#/interpreter page.

Questions:

  • Does the licenses files need update? no
  • Is there breaking changes for older versions? no
  • Does this needs documentation? no

@minahlee minahlee closed this Mar 16, 2017
@minahlee minahlee reopened this Mar 16, 2017
@jongyoul
Copy link
Member

That's very simple :-)

@asfgit asfgit closed this in f9a8a6f Mar 16, 2017
asfgit pushed a commit that referenced this pull request Mar 16, 2017
…upgrade from 0.6.2 to 0.7.0

### What is this PR for?
If there is no `dependencies` field specified in `interpreter.json`, front-end throws error because it tries to push new element to undefined variable. This PR fixes this issue by setting initial value of `dependencies` to empty array.

### What type of PR is it?
Bug Fix

### What is the Jira issue?
[ZEPPELIN-2124](https://issues.apache.org/jira/browse/ZEPPELIN-2124)

### How should this be tested?
Remove `dependencies` field from `conf/interpreter.json` and try to add new dependencies in http://localhost:8080/#/interpreter page.

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <minalee@apache.org>

Closes #2142 from minahlee/ZEPPELIN-2124 and squashes the following commits:

01b27eb [Mina Lee] Assign init value for dependencies field

(cherry picked from commit f9a8a6f)
Signed-off-by: Jongyoul Lee <jongyoul@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants