[
https://issues.apache.org/jira/browse/HDFS-7484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256057#comment-14256057
]
Jing Zhao commented on HDFS-7484:
---------------------------------
Now the patch's mainly focusing on making {{FSDirectory#addINode}} only take
existing INodes as its parameter (instead of an INodesInPath instance
containing null elements). I will change the jira description and title
accordingly.
> Simplify the workflow of calculating permission in mkdirs()
> -----------------------------------------------------------
>
> Key: HDFS-7484
> URL: https://issues.apache.org/jira/browse/HDFS-7484
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Haohui Mai
> Assignee: Jing Zhao
> Attachments: HDFS-7484.000.patch, HDFS-7484.001.patch,
> HDFS-7484.002.patch, HDFS-7484.003.patch, HDFS-7484.004.patch,
> HDFS-7484.005.patch, HDFS-7484.006.patch, HDFS-7484.007.patch,
> HDFS-7484.008.patch
>
>
> {{FSDirMkdirsOp#mkdirsRecursively()}} currently calculates the permissions
> based on whether {{inheritPermission}} is true. This jira proposes to
> simplify the workflow and make it explicit for the caller.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)