hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6643) Refactor INodeFile.HeaderFormat and INodeWithAdditionalFields.PermissionStatusFormat
Date Tue, 08 Jul 2014 23:24:05 GMT

     [ 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)

Mime
View raw message