Puppet Class: cdh::hive::metastore::mysql::jar

Defined in:
modules/cdh/manifests/hive/metastore/mysql/jar.pp

Overview

Class cdh::hive::metastore::mysql::jar

Installs libmysql-java and symlinks the .jar artifact into /usr/lib/hive/lib.

This is a standalone class so that it is possible to safely include it from multiple classes (e.g. cdh::hive::metastore::mysql and cdh::hive::metastore).



9
10
11
12
13
14
15
16
# File 'modules/cdh/manifests/hive/metastore/mysql/jar.pp', line 9

class cdh::hive::metastore::mysql::jar {
    Package['hive'] -> Class['cdh::hive::metastore::mysql::jar']

    cdh::mysql_jdbc { 'hive-mysql-jar':
        link_path     => '/usr/lib/hive/lib/libmysql-java.jar',
        use_mysql_jar => true,
    }
}