You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by gn...@apache.org on 2017/03/25 19:35:23 UTC
ambari git commit: AMBARI-20563. Zeppelin : livy2 interpreter is not
getting created by default.(Renjith Kamath via gauravn7)
Repository: ambari
Updated Branches:
refs/heads/trunk b96b81525 -> 800aea713
AMBARI-20563. Zeppelin : livy2 interpreter is not getting created by default.(Renjith Kamath via gauravn7)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/800aea71
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/800aea71
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/800aea71
Branch: refs/heads/trunk
Commit: 800aea7136a8ba6ef9eb4d95592a837f6e6c4ed1
Parents: b96b815
Author: Gaurav Nagar <gr...@gmail.com>
Authored: Sun Mar 26 01:04:56 2017 +0530
Committer: Gaurav Nagar <gr...@gmail.com>
Committed: Sun Mar 26 01:05:05 2017 +0530
----------------------------------------------------------------------
.../common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/800aea71/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
index eb6ec01..db601d2 100644
--- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
+++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
@@ -311,7 +311,7 @@ class Master(Script):
config_id = spark2_config["id"]
interpreter_settings[config_id] = spark2_config
- if 'livy2-defaults' in params.config['configurations']:
+ if params.livy2_livyserver_host:
livy2_config = self.get_livy2_interpreter_config()
config_id = livy2_config["id"]
interpreter_settings[config_id] = livy2_config