hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2226) Clean up counting of operations in FSEditLogLoader
Date Thu, 04 Aug 2011 22:19:27 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Lipcon updated HDFS-2226:
------------------------------

    Attachment: hdfs-2226.txt

Simple patch attached.

It doesn't include new tests since it's just a change to how the debug log output is generated.
I manually verified that the output looks reasonable.

> Clean up counting of operations in FSEditLogLoader
> --------------------------------------------------
>
>                 Key: HDFS-2226
>                 URL: https://issues.apache.org/jira/browse/HDFS-2226
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>             Fix For: 0.23.0
>
>         Attachments: hdfs-2226.txt, hdfs-2226.txt
>
>
> This is simple cleanup in FSEditLogLoader - rather than having a variable per operation
type, we can just use an EnumMap to count how many instances of each opcode we've hit.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message