[ https://issues.apache.org/jira/browse/HDFS-6330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haohui Mai updated HDFS-6330: ----------------------------- Resolution: Fixed Fix Version/s: 2.5.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've committed the patch to trunk and branch-2. Thanks [~jingzhao] for the contribution. > Move mkdirs() to FSNamesystem > ----------------------------- > > Key: HDFS-6330 > URL: https://issues.apache.org/jira/browse/HDFS-6330 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Haohui Mai > Assignee: Haohui Mai > Fix For: 2.5.0 > > Attachments: HDFS-6330.000.patch, HDFS-6330.001.patch, > HDFS-6330.002.patch, HDFS-6330.003.patch > > > Currently mkdir() automatically creates all ancestors for a directory. This > is implemented in FSDirectory, by calling unprotectedMkdir() along the path. > This jira proposes to move the function to FSNamesystem to simplify the > primitive that FSDirectory needs to provide. -- This message was sent by Atlassian JIRA (v6.2#6252)