diff options
author | Zach York <zyork@amazon.com> | 2017-01-30 13:15:31 -0800 |
---|---|---|
committer | Jonathan Kelly <jonathak@amazon.com> | 2017-01-30 13:16:04 -0800 |
commit | 9549a8e471cfbcb849ebee2f85aa8ea1ec69a1a8 (patch) | |
tree | b906f72a6b016457d6d0fbf8f9e1b562cdb894bf /bigtop-deploy | |
parent | 2a6343ed3d16446d7521a636bb753603f2e5b459 (diff) |
BIGTOP-2678: Add hive-hbase role to install hive-hbase rpm
Signed-off-by: Jonathan Kelly <jonathak@apache.org>
Diffstat (limited to 'bigtop-deploy')
-rw-r--r-- | bigtop-deploy/puppet/modules/hadoop_hive/manifests/init.pp | 10 |
1 files changed, 10 insertions, 0 deletions
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, + } + } } |