bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject bigtop git commit: BIGTOP-2325. Deployment recipes for HAWQ [Forced Update!]
Date Thu, 18 Feb 2016 14:45:19 GMT
Repository: bigtop
Updated Branches:
  refs/heads/BIGTOP-2320 8ab85fe6c -> d8e7f11c7 (forced update)


BIGTOP-2325. Deployment recipes for HAWQ

Adding yarn RM address


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

Branch: refs/heads/BIGTOP-2320
Commit: d8e7f11c7b52f017a05865313d68caf042b5775d
Parents: 8c6a393
Author: Konstantin Boudnik <cos@apache.org>
Authored: Thu Feb 18 16:49:04 2016 +0300
Committer: Konstantin Boudnik <cos@apache.org>
Committed: Thu Feb 18 17:45:03 2016 +0300

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/hawq/manifests/init.pp       | 1 +
 bigtop-deploy/puppet/modules/hawq/templates/hawq-site.xml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/d8e7f11c/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hawq/manifests/init.pp b/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
index c2d4180..4ead23e 100644
--- a/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hawq/manifests/init.pp
@@ -25,6 +25,7 @@ class hawq {
     $hadoop_namenode_port = hiera("hadoop::common_hdfs::hadoop_namenode_port", "8020")
     $hawq_head = hiera("hawq::head_node", "localhost")
     $hawq_head_port = hiera('hawq::master_port', "5432")
+    $hawq_yarn_rm = "%{hiera('hadoop::common_yarn::hadoop_rm_host')}:${hadoop::common_yarn::hadoop_rm_port}"
 
     package { "hawq":
       ensure  => latest,

http://git-wip-us.apache.org/repos/asf/bigtop/blob/d8e7f11c/bigtop-deploy/puppet/modules/hawq/templates/hawq-site.xml
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hawq/templates/hawq-site.xml b/bigtop-deploy/puppet/modules/hawq/templates/hawq-site.xml
index 10f165d..e3a2da6 100644
--- a/bigtop-deploy/puppet/modules/hawq/templates/hawq-site.xml
+++ b/bigtop-deploy/puppet/modules/hawq/templates/hawq-site.xml
@@ -103,7 +103,7 @@ under the License.
 
   <property>
     <name>hawq_rm_yarn_address</name>
-    <value>localhost:8032</value>
+    <value><%= @hawq_yarn_rm %></value>
     <description>The address of YARN resource manager server.</description>
   </property>
 


Mime
View raw message