From 9549a8e471cfbcb849ebee2f85aa8ea1ec69a1a8 Mon Sep 17 00:00:00 2001 From: Zach York Date: Mon, 30 Jan 2017 13:15:31 -0800 Subject: BIGTOP-2678: Add hive-hbase role to install hive-hbase rpm Signed-off-by: Jonathan Kelly --- bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bigtop-deploy') diff --git a/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp b/bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp index 33f494f2..d03427cc 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, + } + } } -- cgit v1.2.3