[ https://issues.apache.org/jira/browse/HDFS-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832378#comment-13832378 ]
Vinay commented on HDFS-5286: ----------------------------- Oh!!. I missed the first one. {{addSpaceConsumed2Parent}} is called inside {{DirectoryWithQuotaFeature#addSpaceConsumed}} Instead of passing {{this}} to {{DirectoryWithQuotaFeature#addSpaceConsumed}} to call {{addSpaceConsumed2Parent}} better to call in INodeDirectory#addSpaceConsumed itself. > Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature > --------------------------------------------------------------- > > Key: HDFS-5286 > URL: https://issues.apache.org/jira/browse/HDFS-5286 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h5286_20131122.patch, h5286_20131125.patch, > h5286_20131125b.patch > > > Similar to the case of INodeFile (HFDS-5285), we should also flatten the > INodeDirectory hierarchy. > This is the first step to add DirectoryWithQuotaFeature for replacing > INodeDirectoryWithQuota. -- This message was sent by Atlassian JIRA (v6.1#6144)