You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2022/11/01 14:00:40 UTC

[incubator-datalab] 01/01: [DATALAB-3084]: removed unnecessary interpreters

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

lfrolov pushed a commit to branch DATALAB-3084
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit cc5cffe0ba2654ba94da2ffe271e6ce8c840c07d
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Nov 1 16:00:24 2022 +0200

    [DATALAB-3084]: removed unnecessary interpreters
---
 .../zeppelin_dataengine-service_create_configs.py  |  1 +
 .../azure/dataengine-service_interpreter_livy.json | 38 ----------------------
 2 files changed, 1 insertion(+), 38 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/azure/zeppelin_dataengine-service_create_configs.py b/infrastructure-provisioning/src/general/scripts/azure/zeppelin_dataengine-service_create_configs.py
index 2ad68e997..08c71b62b 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/zeppelin_dataengine-service_create_configs.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/zeppelin_dataengine-service_create_configs.py
@@ -73,6 +73,7 @@ def install_remote_livy(args):
     subprocess.run('sudo mkdir -p /var/run/livy', shell=True, check=True)
     subprocess.run('sudo chown ' + args.os_user + ':' + args.os_user + ' -R /var/run/livy', shell=True, check=True)
     subprocess.run('sudo chown ' + args.os_user + ':' + args.os_user + ' -R ' + livy_path, shell=True, check=True)
+    subprocess.run('sudo service zeppelin-notebook start', shell=True, check=True)
 
 
 if __name__ == "__main__":
diff --git a/infrastructure-provisioning/src/general/templates/azure/dataengine-service_interpreter_livy.json b/infrastructure-provisioning/src/general/templates/azure/dataengine-service_interpreter_livy.json
index 1f5453f6b..a3aedda49 100644
--- a/infrastructure-provisioning/src/general/templates/azure/dataengine-service_interpreter_livy.json
+++ b/infrastructure-provisioning/src/general/templates/azure/dataengine-service_interpreter_livy.json
@@ -91,28 +91,6 @@
             "completionSupport":true
          }
       },
-      {
-         "name":"sql",
-         "class":"org.apache.zeppelin.livy.LivySparkSQLInterpreter",
-         "defaultInterpreter":false,
-         "editor":{
-            "language":"sql",
-            "editOnDblClick":false,
-            "completionKey":"TAB",
-            "completionSupport":true
-         }
-      },
-      {
-         "name":"pyspark",
-         "class":"org.apache.zeppelin.livy.LivyPySparkInterpreter",
-         "defaultInterpreter":false,
-         "editor":{
-            "language":"python",
-            "editOnDblClick":false,
-            "completionKey":"TAB",
-            "completionSupport":true
-         }
-      },
       {
          "name":"pyspark3",
          "class":"org.apache.zeppelin.livy.LivyPySpark3Interpreter",
@@ -123,22 +101,6 @@
             "completionKey":"TAB",
             "completionSupport":true
          }
-      },
-      {
-         "name":"sparkr",
-         "class":"org.apache.zeppelin.livy.LivySparkRInterpreter",
-         "defaultInterpreter":false,
-         "editor":{
-            "language":"r",
-            "editOnDblClick":false,
-            "completionKey":"TAB",
-            "completionSupport":true
-         }
-      },
-      {
-         "name":"shared",
-         "class":"org.apache.zeppelin.livy.LivySharedInterpreter",
-         "defaultInterpreter":false
       }
    ],
    "dependencies":[


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org