define host{
        use                     generic-hadoop-host
        host_name               jobtracker.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers,mapred-jobtracker,zookeeper,hdfs-journal, CNR site
        alias                   Hadoop jobtracker
        address                 jobtracker.t.hadoop.research-infrastructures.eu
        }

define host{
        use                     generic-hadoop-host
        host_name               quorum1.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers,zookeeper,hdfs-namenode,hdfs-journal,hdfs-zkfc, CNR site
        alias                   nn1.t.hadoop.research-infrastructures.eu
        address                 quorum1.t.hadoop.research-infrastructures.eu
        }

define host{
        use                     generic-hadoop-host
        host_name               quorum2.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers,zookeeper,hdfs-namenode,hdfs-journal,hdfs-zkfc, CNR site
        alias                   nn2.t.hadoop.research-infrastructures.eu
        address                 quorum2.t.hadoop.research-infrastructures.eu
        }

define host{
        use                     generic-hadoop-host
        host_name               quorum3.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers,zookeeper,hbase-master,hdfs-journal,hbase-thrift, CNR site
        alias                   hbase-master.t.hadoop.research-infrastructures.eu
        address                 quorum3.t.hadoop.research-infrastructures.eu
        }

define host{
        use                     generic-hadoop-host
        host_name               quorum4.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers,zookeeper,hdfs-journal,mapred-jobtracker-ha, CNR site
        alias                   jobtracker2.t.hadoop.research-infrastructures.eu
        address                 quorum4.t.hadoop.research-infrastructures.eu
        }

define host{
        use                     generic-hadoop-host
        host_name               hbase-master2.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers,hbase-master,hbase-thrift, CNR site
        alias                   hbase-master2.t.hadoop.research-infrastructures.eu
        address                 hbase-master2.t.hadoop.research-infrastructures.eu
        }

{% for host in groups['hadoop_worker_nodes'] %}
define host{
        use                     generic-hadoop-workernode-host
        host_name               {{ host }}
        hostgroups              ubuntu-servers,hdfs-datanodes,mapred-tasktrackers,hbase-region-servers, CNR site
        alias                   {{ host }}
        address                 {{ host }}
        }
{% endfor %}


define host{
        use                     generic-hadoop-host
        host_name               hive.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers,hue, CNR site
        alias                   Hive Oozie Hue
        address                 hive.t.hadoop.research-infrastructures.eu
        }

define host{
        use                     generic-hadoop-host
        host_name               db.t.hadoop.research-infrastructures.eu
        hostgroups              ubuntu-servers, CNR site
        alias                   Hive Oozie Hue DB server
        address                 db.t.hadoop.research-infrastructures.eu
        }

