[
https://issues.apache.org/jira/browse/HDFS-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832839#comment-13832839
]
Tsz Wo (Nicholas), SZE commented on HDFS-5286:
----------------------------------------------
> ... Instead can't we make interface as Abstract and remove these duplicated
> classes in INodeFile and INodeDirecory..?
If we remove the duplicated classes, then we could put file specific features
such to FileUnderConstructionFeature to a directory. Now, it is impossible
since it is a compilation error. So, let's keep them as-is.
> 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)