AMBARI-21473. Zeppelin does not start and returns: params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']: KeyError: 'phoenix.url'(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/56f05f09 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/56f05f09 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/56f05f09 Branch: refs/heads/branch-feature-AMBARI-14714 Commit: 56f05f099aae18d11f849266d14bccf36ae79ad0 Parents: 8de6517 Author: Venkata Sairam <venkatasairam.la...@gmail.com> Authored: Wed Jul 19 14:27:31 2017 +0530 Committer: Venkata Sairam <venkatasairam.la...@gmail.com> Committed: Wed Jul 19 14:27:31 2017 +0530 ---------------------------------------------------------------------- .../common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/56f05f09/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 0013ab0..ba46dc8 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 @@ -295,6 +295,7 @@ class Master(Script): interpreter['properties']['zeppelin.jdbc.keytab.location'] = params.zeppelin_kerberos_keytab if params.zookeeper_znode_parent \ and params.hbase_zookeeper_quorum \ + and 'phoenix.url' in interpreter['properties'] \ and params.zookeeper_znode_parent not in interpreter['properties']['phoenix.url']: interpreter['properties']['phoenix.url'] = "jdbc:phoenix:" + \ params.hbase_zookeeper_quorum + ':' + \