hadoop-hdfs-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/HDFS-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079675#comment-13079675
] 

Aaron T. Myers commented on HDFS-2226:
--------------------------------------

+1, patch looks good to me.

> 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