Repository: ambari Updated Branches: refs/heads/branch-2.6 412c7d2fc -> 7165eefa8
AMBARI-22021.Livy not working with the default configuration(Prabhjyot Singh via Venkata Sairam) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7165eefa Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7165eefa Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7165eefa Branch: refs/heads/branch-2.6 Commit: 7165eefa8feee0550769f3bc8019a11ea1574292 Parents: 412c7d2 Author: Venkata Sairam <venkatasairam.la...@gmail.com> Authored: Fri Sep 22 12:46:55 2017 +0530 Committer: Venkata Sairam <venkatasairam.la...@gmail.com> Committed: Fri Sep 22 12:47:32 2017 +0530 ---------------------------------------------------------------------- .../0.7.0/package/scripts/interpreter_json_template.py | 7 ++++++- .../ZEPPELIN/0.7.0/package/scripts/livy2_config_template.py | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7165eefa/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/interpreter_json_template.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/interpreter_json_template.py b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/interpreter_json_template.py index 6a98919..d5a70a7 100644 --- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/interpreter_json_template.py +++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/interpreter_json_template.py @@ -182,7 +182,7 @@ template = ''' "zeppelin.livy.concurrentSQL": "false", "zeppelin.livy.spark.sql.field.truncate": "true", "livy.spark.executor.cores": "", - "zeppelin.livy.displayAppInfo": "false", + "zeppelin.livy.displayAppInfo": "true", "zeppelin.livy.url": "http://localhost:8998", "livy.spark.dynamicAllocation.minExecutors": "", "livy.spark.driver.cores": "", @@ -240,6 +240,11 @@ template = ''' "language": "r", "editOnDblClick": false } + }, + { + "name": "shared", + "class": "org.apache.zeppelin.livy.LivySharedInterpreter", + "defaultInterpreter": false } ], "dependencies": [], http://git-wip-us.apache.org/repos/asf/ambari/blob/7165eefa/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/livy2_config_template.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/livy2_config_template.py b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/livy2_config_template.py index 71d3817..c9030bd 100644 --- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/livy2_config_template.py +++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/livy2_config_template.py @@ -34,7 +34,7 @@ template = ''' "livy.spark.dynamicAllocation.initialExecutors": "", "zeppelin.livy.session.create_timeout": "120", "livy.spark.driver.memory": "", - "zeppelin.livy.displayAppInfo": "false", + "zeppelin.livy.displayAppInfo": "true", "livy.spark.jars.packages": "", "livy.spark.dynamicAllocation.maxExecutors": "", "zeppelin.livy.concurrentSQL": "false", @@ -90,6 +90,11 @@ template = ''' }, "name": "sparkr", "defaultInterpreter": false + }, + { + "name": "shared", + "class": "org.apache.zeppelin.livy.LivySharedInterpreter", + "defaultInterpreter": false } ], "dependencies": [],