Puppet Class: role::analytics_test_cluster::client

Defined in:
modules/role/manifests/analytics_test_cluster/client.pp

Overview

Class role::analytics_test_cluster::hadoop::client

Simple role class that only includes a hadoop client.



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'modules/role/manifests/analytics_test_cluster/client.pp', line 4

class role::analytics_test_cluster::client {
    system::role { 'analytics_test_cluster::client':
        description => 'Analytics Hadoop test client',
    }

    include ::profile::java
    include ::profile::base::production
    include ::profile::firewall
    include ::profile::analytics::cluster::client
    include ::profile::kerberos::client
    include ::profile::kerberos::keytabs

    include ::profile::analytics::cluster::gitconfig

    # Airflow job scheduler.
    # We run this here in the analytics-test cluster
    # because we don't have a 'launcher' role node there,
    # and we can't run hive clients on the same node
    # as the hive server, as we use dns_canonicalize_hostname=true there,
    # which causes Hive Kerberos authentication to fail from that host.
    # NOTE: we only want airflow on ONE client instance.
    # This conditional is a hack to ensure that if someone ever creates
    # a more an-test-client instances, that the airflow-analytics-test
    # instance is not created there accidentally.
    if $::fqdn == 'an-test-client1002.eqiad.wmnet' {
        include ::profile::airflow
    }

    include ::profile::presto::client

    # Need refinery to test Refine jobs
    include ::profile::analytics::refinery

    include ::profile::analytics::jupyterhub
}