Repository: bigtop
Updated Branches:
  refs/heads/master 2a6343ed3 -> 9549a8e47


BIGTOP-2678: Add hive-hbase role to install hive-hbase rpm

Signed-off-by: Jonathan Kelly <jonat...@apache.org>


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

Branch: refs/heads/master
Commit: 9549a8e471cfbcb849ebee2f85aa8ea1ec69a1a8
Parents: 2a6343e
Author: Zach York <zy...@amazon.com>
Authored: Mon Jan 30 13:15:31 2017 -0800
Committer: Jonathan Kelly <jonat...@amazon.com>
Committed: Mon Jan 30 13:16:04 2017 -0800

----------------------------------------------------------------------
 .../puppet/modules/hadoop_hive/manifests/init.pp          | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/9549a8e4/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp 
b/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp
index 33f494f..d03427c 100644
--- a/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp
@@ -33,6 +33,10 @@ class hadoop_hive {
       #  Class['Hadoop::Mapred_app'] -> Class['Hadoop_hive::Server2']
       # }
     }
+
+    if ('hive-hbase' in $roles) {
+      include hadoop_hive::hbase
+    }
   }
 
   class client_package {
@@ -105,4 +109,10 @@ class hadoop_hive {
     Kerberos::Host_keytab <| title == "hive" |> -> Service["hive-metastore"]
     File <| title == "/etc/hadoop/conf/core-site.xml" |> -> 
Service["hive-metastore"]
   }
+
+  class hbase {
+    package { 'hive-hbase':
+      ensure => latest,
+    }
+  }
 }

Reply via email to