ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [15/18] ambari git commit: AMBARI-20564: configuring Zeppelin's JDBC-phoenix interpreter requires hdfs-site.xml, core-site.xml as well (Prabhjyot Singh via r-kamath)
Date Mon, 27 Mar 2017 10:38:47 GMT
AMBARI-20564: configuring Zeppelin's JDBC-phoenix interpreter requires hdfs-site.xml, core-site.xml
as well (Prabhjyot Singh via r-kamath)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3cfc047e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3cfc047e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3cfc047e

Branch: refs/heads/branch-3.0-perf
Commit: 3cfc047e65ab2d23d5ffd59d9da521bdfd71f963
Parents: 55fdd7d
Author: Renjith Kamath <renjith.kamath@gmail.com>
Authored: Mon Mar 27 11:09:53 2017 +0530
Committer: Renjith Kamath <renjith.kamath@gmail.com>
Committed: Mon Mar 27 11:09:53 2017 +0530

----------------------------------------------------------------------
 .../ZEPPELIN/0.6.0.2.5/package/scripts/master.py | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3cfc047e/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 db601d2..c3521c5 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
@@ -171,8 +171,23 @@ class Master(Script):
               configuration_attributes=params.config['configuration_attributes']['hbase-site'],
               owner=params.zeppelin_user,
               group=params.zeppelin_group,
-              mode=0644
-              )
+              mode=0644)
+
+      XmlConfig("hdfs-site.xml",
+                conf_dir=params.external_dependency_conf,
+                configurations=params.config['configurations']['hdfs-site'],
+                configuration_attributes=params.config['configuration_attributes']['hdfs-site'],
+                owner=params.zeppelin_user,
+                group=params.zeppelin_group,
+                mode=0644)
+
+      XmlConfig("core-site.xml",
+                conf_dir=params.external_dependency_conf,
+                configurations=params.config['configurations']['core-site'],
+                configuration_attributes=params.config['configuration_attributes']['core-site'],
+                owner=params.zeppelin_user,
+                group=params.zeppelin_group,
+                mode=0644)
 
   def stop(self, env, upgrade_type=None):
     import params


Mime
View raw message