Puppet Class: cdh::impala::master

Inherits:
cdh::impala
Defined in:
modules/cdh/manifests/impala/master.pp

Overview

Class cdh::impala::master

Installs impala master services. This assumes you want to run state-store, catalog, and llama on the same node. This does not yet support HA llama.



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/cdh/manifests/impala/master.pp', line 6

class cdh::impala::master inherits cdh::impala {
    package {[
        'impala-state-store',
        'impala-catalog',
        'llama-master',
    ]:
        ensure => 'installed',
    }

    service { 'impala-state-store':
        ensure     => 'running',
        enable     => true,
        hasstatus  => true,
        hasrestart => true,
        require    => Package['impala-state-store'],
    }

    service { 'impala-catalog':
        ensure     => 'running',
        enable     => true,
        hasstatus  => true,
        hasrestart => true,
        require    => Package['impala-catalog'],
    }

    service { 'llama':
        ensure     => 'running',
        enable     => true,
        hasstatus  => true,
        hasrestart => true,
        require    => Package['llama-master'],
    }
}