You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vs...@apache.org on 2017/09/22 07:17:06 UTC
ambari git commit: AMBARI-22021.Livy not working with the default
configuration(Prabhjyot Singh via Venkata Sairam)
Repository: ambari
Updated Branches:
refs/heads/trunk 5d5f9749e -> d221ab786
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/d221ab78
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d221ab78
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d221ab78
Branch: refs/heads/trunk
Commit: d221ab786277abf6d8e9e8dbc9442e37423484a4
Parents: 5d5f974
Author: Venkata Sairam <ve...@gmail.com>
Authored: Fri Sep 22 12:46:55 2017 +0530
Committer: Venkata Sairam <ve...@gmail.com>
Committed: Fri Sep 22 12:46:55 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/d221ab78/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/d221ab78/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": [],