# Hadoop hostgroups definitions
define hostgroup {
        hostgroup_name		hadoop-cluster
	alias			Hadoop Cluster
	hostgroup_members	hbase,zookeeper,hdfs,map-reduce,hue
        }

define hostgroup {
        hostgroup_name		hadoop-cluster-metrics
	alias			Hadoop Cluster Metrics
	hostgroup_members	hbase,zookeeper,hdfs,map-reduce
        }

define hostgroup {
        hostgroup_name		hadoop-worker-nodes
	alias			Hadoop Worker Nodes
	hostgroup_members	hbase-region-servers,hdfs-datanodes,mapred-tasktrackers
        }

define hostgroup {
        hostgroup_name		hbase
	alias			Hbase
	hostgroup_members	hbase-master,hbase-thrift,hbase-region-servers
        }

define hostgroup {
        hostgroup_name  hbase-region-servers
	alias           Hbase Region servers
        }

define hostgroup {
        hostgroup_name  hbase-thrift
	alias           Hbase Thrift server
        }

define hostgroup {
        hostgroup_name  hbase-master
	alias           Hbase Master server
        }

define hostgroup {
        hostgroup_name  zookeeper
	alias           Zookeeper quorum servers
        }

define hostgroup {
        hostgroup_name		hdfs
	alias			HDFS cluster
	hostgroup_members	hdfs-namenode,hdfs-datanodes,hdfs-journal
        }

define hostgroup {
        hostgroup_name  hdfs-namenode
	alias           HDFS namenode
        }

define hostgroup {
        hostgroup_name  hdfs-zkfc
	alias           HDFS HA zkfc
        }

define hostgroup {
        hostgroup_name  hdfs-datanodes
	alias           HDFS data nodes
        }

define hostgroup {
        hostgroup_name  hdfs-journal
	alias           HDFS HA journal nodes
        }

define hostgroup {
        hostgroup_name  hue
	alias           HUE server
        }

define hostgroup {
        hostgroup_name		map-reduce
	alias           	Map/Reduce cluster
	hostgroup_members	mapred-jobtracker,mapred-tasktrackers
        }

define hostgroup {
        hostgroup_name  mapred-jobtracker
	alias           Map/Reduce Jobtracker
        }

define hostgroup {
        hostgroup_name  mapred-jobtracker-ha
	alias           Map/Reduce Jobtracker second server
        }

define hostgroup {
        hostgroup_name  mapred-tasktrackers
	alias           Map/Reduce Tasktrackers
        }

