stefanvanwouw / puppet-hive

Puppet module to install Hive (0.12)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'],
    ]
}

About

Puppet module to install Hive (0.12)

License:MIT License


Languages

Language:Python 48.0%Language:PHP 45.7%Language:Shell 3.3%Language:C++ 1.5%Language:C 1.0%Language:Puppet 0.5%Language:Objective-C 0.1%