[
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_20140708b.patch
h6643_20140708b.patch:
- Fix TestINodeFile -- it uses zero preferredBlockSize.
- The findbugs warning is a false positive -- it expects LongBitFormat to
implement Serializable, which is irrelevant since we do not use Serializable.
However, I changed it anyway to make findbugs happy.
> 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
>
>
> 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)