Defined Type: druid::cdh::hadoop::deep_storage

Defined in:
modules/druid/manifests/cdh/hadoop/deep_storage.pp

Overview

Class: druid::cdh::hadoop::deep_storage

Ensure that an HDFS directory for Druid deep storage exists for a given druid cluster name.

This should only be included on a Hadoop NameNode.

Parameters

path

HDFS path of deep storage directory to create. Default: /user/druid/deep-storage-$title

Parameters:

  • path (Any) (defaults to: "/user/druid/deep-storage-${title}")


14
15
16
17
18
19
20
21
22
23
24
# File 'modules/druid/manifests/cdh/hadoop/deep_storage.pp', line 14

define druid::cdh::hadoop::deep_storage(
    $path = "/user/druid/deep-storage-${title}",
) {
    require ::druid::cdh::hadoop::user

    cdh::hadoop::directory { $path:
        owner => 'druid',
        group => 'hadoop',
        mode  => '0775',
    }
}