DataNode will create missing dfs.data.dir directories contrary to docs
----------------------------------------------------------------------

                 Key: HADOOP-4799
                 URL: https://issues.apache.org/jira/browse/HADOOP-4799
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.19.0
            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