[
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_20140708.patch
h6643_20140708.patch:
- adds LongBitFormat;
- changes HeaderFormat to enum; and
- changes HeaderFormat and PermissionStatusFormat to use LongBitFormat.
No new tests added since this is a refactoring.
> 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
>
>
> 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)