Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master 5bed7796f -> 72f6c91c7


[ZEPPELIN-706] OOM issue when run notebook

### What is this PR for?
Zeppelin will hit OOM issue when run notebook.
This PR fixes the problem by preventing unnecessary gson serialization.

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

### Todos
* [x] - fix the problem

### What is the Jira issue?
http://issues.apache.org/jira/browse/ZEPPELIN-706

### How should this be tested?
steps to reproduce the problem described in jira issue.

### Screenshots (if appropriate)

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

Author: Lee moon soo <[email protected]>

Closes #762 from Leemoonsoo/ZEPPELIN-706 and squashes the following commits:

0dd38a0 [Lee moon soo] make field transient


Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/72f6c91c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/72f6c91c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/72f6c91c

Branch: refs/heads/master
Commit: 72f6c91c74e1e99938aacd0eb83e7aefb47cb57d
Parents: 5bed779
Author: Lee moon soo <[email protected]>
Authored: Fri Mar 4 17:25:59 2016 -0800
Committer: Lee moon soo <[email protected]>
Committed: Mon Mar 7 09:34:56 2016 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/zeppelin/notebook/Paragraph.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/72f6c91c/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java
----------------------------------------------------------------------
diff --git 
a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java 
b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java
index 75d105f..09c9026 100644
--- a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java
+++ b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java
@@ -339,7 +339,7 @@ public class Paragraph extends Job implements Serializable, 
Cloneable {
   }
 
   static class ParagraphRunner extends InterpreterContextRunner {
-    private Note note;
+    private transient Note note;
 
     public ParagraphRunner(Note note, String noteId, String paragraphId) {
       super(noteId, paragraphId);

Reply via email to