Repository: zeppelin
Updated Branches:
  refs/heads/master 1ec869f38 -> 23da33e6c


[ZEPPELIN-3567] fix InterpreterContext convert(...) method

### What is this PR for?
After commit 
[7af861...](https://github.com/apache/zeppelin/commit/7af86168254e0ad08234c57043e18179fca8d04c)
 will be lost convert of `config`.
This PR returning it back.
Because of this, the status of the autocomplete was lost after the run of the 
paragraph.

![tab_complition_fix](https://user-images.githubusercontent.com/30798933/42382820-17e4ea92-813e-11e8-994c-4791ccbfe16f.png)

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

JIRA: [ZEPPELIN-3567](https://issues.apache.org/jira/browse/ZEPPELIN-3567)

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

Author: Savalek <[email protected]>

Closes #3056 from Savalek/ZEPPELIN-3567 and squashes the following commits:

05f265977 [Savalek] [ZEPPELIN-3567] fix InterpreterContext convert(...) method


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

Branch: refs/heads/master
Commit: 23da33e6c0820f45e72f325e2b3247c1b24ed2be
Parents: 1ec869f
Author: Savalek <[email protected]>
Authored: Fri Jul 6 16:48:39 2018 +0300
Committer: Jongyoul Lee <[email protected]>
Committed: Tue Jul 10 09:13:36 2018 +0900

----------------------------------------------------------------------
 .../zeppelin/interpreter/remote/RemoteInterpreterServer.java       | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/23da33e6/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.java
----------------------------------------------------------------------
diff --git 
a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.java
 
b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.java
index 6e548ad..4c52601 100644
--- 
a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.java
+++ 
b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.java
@@ -758,6 +758,8 @@ public class RemoteInterpreterServer extends Thread
         .setLocalProperties(ric.getLocalProperties())
         
.setAuthenticationInfo(AuthenticationInfo.fromJson(ric.getAuthenticationInfo()))
         .setGUI(GUI.fromJson(ric.getGui()))
+        .setConfig(gson.fromJson(ric.getConfig(),
+                   new TypeToken<Map<String, Object>>() {}.getType()))
         .setNoteGUI(GUI.fromJson(ric.getNoteGui()))
         .setAngularObjectRegistry(interpreterGroup.getAngularObjectRegistry())
         .setResourcePool(interpreterGroup.getResourcePool())

Reply via email to