You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2011/08/05 01:22:27 UTC

[jira] [Commented] (HDFS-2226) Clean up counting of operations in FSEditLogLoader

    [ 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