[ https://issues.apache.org/jira/browse/HDFS-6330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14030925#comment-14030925 ]
Jing Zhao edited comment on HDFS-6330 at 6/13/14 6:17 PM: ---------------------------------------------------------- I've committed the patch to trunk and branch-2. Thanks [~jingzhao] for the review. was (Author: wheat9): 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)