Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bigtop-deploy/puppet/hieradata/bigtop/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ hadoop_hbase::common_config::rootdir: "%{hiera('bigtop::hadoop_namenode_uri')}%{
hadoop_hbase::common_config::zookeeper_quorum: "%{hiera('bigtop::hadoop_head_node')}"
hadoop_hbase::common_config::kerberos_realm: "%{hiera('kerberos::site::realm')}"
hadoop_hbase::client::thrift: true
hadoop_hbase::deploy::auxiliary: true

solr::server::root_url: "%{hiera('bigtop::hadoop_namenode_uri')}"
solr::server::zk: "%{hiera('hadoop::zk')}"
Expand Down
8 changes: 6 additions & 2 deletions bigtop-deploy/puppet/modules/hadoop_hbase/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@

class hadoop_hbase {

class deploy ($roles) {
class deploy ($roles, $auxiliary = true) {
if ("hbase-server" in $roles) {
include hadoop_hbase::server
}

if ("hbase-master" in $roles) {
if ($auxiliary == true) {
include hadoop_zookeeper::server
}

include hadoop::common_hdfs
include hadoop::init_hdfs
include hadoop_hbase::master
include hadoop_zookeeper::server
Class['Hadoop::Init_hdfs'] -> Class['Hadoop_hbase::Master']
}

Expand Down