hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-2087) Reuse 'subcountersArray' in Counters#Group.makeEscapedCompactString()
Date Fri, 24 Sep 2010 05:46:32 GMT
Reuse 'subcountersArray' in Counters#Group.makeEscapedCompactString()
---------------------------------------------------------------------

                 Key: MAPREDUCE-2087
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2087
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Amar Kamat


While optimizing {{Counters#Group.makeEscapedCompactString()}}, MAPREDUCE-1533 pre-converted
the sub-counters into their escaped form for computing the overall size required for holding
the escaped sub-counters in a {{StringBuffer}}. As a result of this pre-conversion, escaped
sub-counters are stored/cached in an array called _subcountersArray_. Later, while the final
escaped string is constructed, all the sub-counters are again converted into their escaped
form. Here the _subcountersArray_, which is created during the pre-conversion stage, can be
reused.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message