You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Sergey Soldatov (JIRA)" <ji...@apache.org> on 2015/11/13 17:59:11 UTC

[jira] [Commented] (BIGTOP-1690) Puppet should automatically create data directories

    [ https://issues.apache.org/jira/browse/BIGTOP-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004288#comment-15004288 ] 

Sergey Soldatov commented on BIGTOP-1690:
-----------------------------------------

Since puppet doesn't support recursive directory creation there are two options:
1. execute  mkdir -p
2. add a new parameter like hadoop::hdfs_base_dirs and create it by regular way before hdfs data dirs are created.

The second way is more preferable according to the puppet guidelines, but require adding an additional property to the site.yaml


> Puppet should automatically create data directories
> ---------------------------------------------------
>
>                 Key: BIGTOP-1690
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1690
>             Project: Bigtop
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 0.5.0
>            Reporter: Konstantin Boudnik
>            Priority: Critical
>             Fix For: 1.1.0
>
>
> Right now a user has to manually create directories specified in {{hadoop::hadoop_storage_dirs}}, which is a shame. Let's have a recursive dirs creation if they don't exist yet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)