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