Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
0.7.0, 0.7.1, 0.8.0, 0.9.0
-
None
-
Patch
Description
When performing testing with Zeppelin 0.9.0/0.8.0 with importing notebooks and/or cloning notebooks noticed NPE's being thrown. After performing some debug for the past few days determined the cause is the fact that "user" attribute is not being populated and "user" is used in many places including binding interpreters and unbinding interpreters. The only workaround is to run all the paragraphs which go and update the notebooks paragraph json sections. I fixed this by during the Note.addCloneParagraph by passing AuthenticationInfo in so that "user" is set.
I've attached log showing my debug statements I added both with and without the fix and diff's of the notebook jsons missing the "user" attribute during the clone/import.
Example of missing user attribute on clone:
— /tmp/2D932HMYZ.orig.json 2018-03-07 18:50:26.105410990 -0500
+++ /tmp/2DAVJSE2G.clone.json 2018-03-07 18:50:49.953606890 -0500
@@ -2,12 +2,16 @@
"paragraphs": [
{
"text": "%sql\nshow tables in processed_opendata_samples",
- "user": "gss2002",
- "dateUpdated": "2018-03-07 14:53:18.449",
+ "dateUpdated": "2018-03-07 18:47:49.949",
Attachments
Attachments
Issue Links
- blocks
-
ZEPPELIN-2385 Release 0.8.0
- Resolved
- links to