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 14:49:30 UTC

[2/2] bigtop git commit: BIGTOP-2325. Deployment recipes for HAWQ

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/8ab85fe6
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/8ab85fe6
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/8ab85fe6

Branch: refs/heads/BIGTOP-2320
Commit: 8ab85fe6cea81285a9073df2a4e3b6e3b6588fe6
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 16:49:04 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/8ab85fe6/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/8ab85fe6/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>