[ 
https://issues.apache.org/jira/browse/HDFS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Shvachko updated HDFS-161:
-------------------------------------

    Component/s: documentation
                 data-node

> DataNode will create missing dfs.data.dir directories contrary to docs
> ----------------------------------------------------------------------
>
>                 Key: HDFS-161
>                 URL: https://issues.apache.org/jira/browse/HDFS-161
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, documentation
>            Reporter: Todd Lipcon
>            Priority: Minor
>
> The documentation (and HADOOP-340) seems to indicate that if a data dir 
> listed in dfs.data.dir does not exist, it will be ignored. In fact, if the 
> hadoop user has access to (essentially) mkdir -p the data dir it will do so.
> I'd like to add another configuration parameter, perhaps dfs.data.dir.create 
> with default true (to not break any existing tutorials). If this is set to 
> false then data dirs that do not exist will not implicitly be created.
> The motivation for this is the same as HADOOP-340 - we have different disk 
> configs in our cluster and hadoop is creating data dirs where we do not want 
> them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to