This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 72635f3  [ZEPPELIN-4554]. Default interpreter for shell interpreter is 
missing in interpreter-setting.json
72635f3 is described below

commit 72635f3a4d713b213c4d6a3ee66e6a85fd014a4d
Author: Jeff Zhang <zjf...@apache.org>
AuthorDate: Thu Jan 16 10:02:26 2020 +0800

    [ZEPPELIN-4554]. Default interpreter for shell interpreter is missing in 
interpreter-setting.json
    
    ### What is this PR for?
    
    Default interpreter is missing in shell interpreter's 
`interpreter-setting.json`, this cause the frontend unable to get right editor 
setting when using `%sh`.
    
    ### What type of PR is it?
    [Bug Fix ]
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    * https://issues.apache.org/jira/browse/ZEPPELIN-4554
    
    ### How should this be tested?
    * Test is manually
    
    ### Screenshots (if appropriate)
    
    Before
    
    
![image](https://user-images.githubusercontent.com/164491/72487119-e5f39200-3847-11ea-9686-d65bf4e32578.png)
    
    After
    
![image](https://user-images.githubusercontent.com/164491/72487208-3965e000-3848-11ea-8871-9cede8f3fbc9.png)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    Author: Jeff Zhang <zjf...@apache.org>
    
    Closes #3596 from zjffdu/ZEPPELIN-4554 and squashes the following commits:
    
    8a9c8b695 [Jeff Zhang] [ZEPPELIN-4554]. Default interpreter for shell 
interpreter is missing in interpreter-setting.json
---
 shell/src/main/resources/interpreter-setting.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shell/src/main/resources/interpreter-setting.json 
b/shell/src/main/resources/interpreter-setting.json
index 4a7dae5..1db6528 100644
--- a/shell/src/main/resources/interpreter-setting.json
+++ b/shell/src/main/resources/interpreter-setting.json
@@ -3,6 +3,7 @@
     "group": "sh",
     "name": "sh",
     "className": "org.apache.zeppelin.shell.ShellInterpreter",
+    "defaultInterpreter": true,
     "properties": {
       "shell.command.timeout.millisecs": {
         "envName": "SHELL_COMMAND_TIMEOUT",

Reply via email to