[
https://issues.apache.org/jira/browse/HDFS-6643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated HDFS-6643:
--------------------------------------
Attachment: h6643_20140709.patch
Thanks Jing. It is a good point that the fields should be private. Here is a
new patch.
h6643_20140709.patch
> Refactor INodeFile.HeaderFormat and
> INodeWithAdditionalFields.PermissionStatusFormat
> ------------------------------------------------------------------------------------
>
> Key: HDFS-6643
> URL: https://issues.apache.org/jira/browse/HDFS-6643
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: h6643_20140708.patch, h6643_20140708b.patch,
> h6643_20140709.patch
>
>
> The use of them are very similar. We should change INodeFile.HeaderFormat to
> enum and refactor them for code reuse.
--
This message was sent by Atlassian JIRA
(v6.2#6252)