<html>
  <head>
    <title>
      {{ portal_title }}
    </title>
  </head>
  <body>
    <ul> <h2>HUE interface</h2>
{% for host in groups['hue'] %}
	<li><a href="http://{{ host }}:{{ hue_http_port }}/jobbrowser">HUE interface</a></li>
{% endfor %}
    </ul>
    <ul> <h2>Jobtracker</h2>
{% for host in groups['jt_masters'] %}
      <li><a href="http://{{ jobtracker_node_1_hostname }}:{{ hostvars[host]['jt_http'] }}">{{ host }} Jobtracker master</a></li>
{% endfor %}
    </ul>
    <ul> <h2>Mapred tasktrackers</h2>
{% for host in groups['hadoop_worker_nodes'] %}
      <li><a href="http://{{ jobtracker_node_1_hostname }}:{{ hostvars[host]['mapred_http'] }}">{{ host }} mapred tasktracker</a></li>
{% endfor %}
    </ul>
    <ul> <h2>HDFS namenode</h2>
{% for host in groups['hdfs_masters'] %}
      <li><a href="http://{{ jobtracker_node_1_hostname }}:{{ hostvars[host]['hdfs_m_http'] }}">{{ host }} HDFS namenode</a></li>
{% endfor %}
    </ul>
    <ul> <h2>HDFS datanodes</h2>
{% for host in groups['hadoop_worker_nodes'] %}
      <li><a href="http://{{ jobtracker_node_1_hostname }}:{{ hostvars[host]['hdfs_http'] }}">{{ host }} HDFS datanode</a></li>
{% endfor %}
    </ul>
    <ul> <h2>HBASE master</h2>
{% for host in groups['hbase_masters'] %}
      <li><a href="http://{{ jobtracker_node_1_hostname }}:{{ hostvars[host]['hbase_m_http'] }}">{{ host }} HBASE master</a></li>
{% endfor %}
    </ul>
    <ul> <h2>HBASE regionservers</h2>
{% for host in groups['hadoop_worker_nodes'] %}
      <li><a href="http://{{ jobtracker_node_1_hostname }}:{{ hostvars[host]['hbase_http'] }}">{{ host }} HBASE regionserver</a></li>
{% endfor %}
    </ul>
    <ul> <h2>Logstash collector</h2>
{% for host in groups['logstash'] %}
      <li><a href="http://{{ host }}/">{{ host }} Logstash collector</a></li>
{% endfor %}
    </ul>
  </body>
</html>
