Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.41 KB

README.md

File metadata and controls

56 lines (41 loc) · 1.41 KB

Puppet module for Hive 0.12.

Most of the code is a direct copy of https://github.com/wikimedia/puppet-cdh4 's Hive configuration, and config files contained in CDH4.4.0 Hive packages.

Puppet module to install Hive (0.12)

Unfortunately no Debian packages are available for Hive 0.12. Therefore I included the entire Hive 0.12 dir in the puppet module.

Dependencies not made explicit in the module itself:

Usage:

On the master node:

class { '::mysql::server':
    root_password    => 'yourpassword',
}

class { 'hive::master':
    require => [
        Class['::mysql::server'],
        Class['your::class::that::ensures::java::is::installed'], 
        Class['cdh4::hadoop']
    ],
}

On the every node, including all workers and the master:

class {'hive':
    metastore_host  => $master,
    zookeeper_hosts => $zookeeper_hosts, # 
    jdbc_password   => 'yourpassword',
    require => [
        Class['your::class::that::ensures::java::is::installed'], 
        Class['cdh4::hadoop'],
        Class['zookeeper'],
        Class['zookeeper::server'],
    ]
}