You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2016/02/18 15:45:19 UTC

bigtop git commit: BIGTOP-2325. Deployment recipes for HAWQ [Forced Update!]

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 <co...@apache.org>
Authored: Thu Feb 18 16:49:04 2016 +0300
Committer: Konstantin Boudnik <co...@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>