hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3024) Improve performance of stringification in addStoredBlock
Date Tue, 28 Feb 2012 18:23:46 GMT

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

Hudson commented on HDFS-3024:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1795 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1795/])
    HDFS-3024. Improve performance of stringification in addStoredBlock. Contributed by Todd
Lipcon. (Revision 1294754)

     Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294754
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/Block.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockInfoUnderConstruction.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java

                
> Improve performance of stringification in addStoredBlock
> --------------------------------------------------------
>
>                 Key: HDFS-3024
>                 URL: https://issues.apache.org/jira/browse/HDFS-3024
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.3
>
>         Attachments: hdfs-3024.txt
>
>
> In looking at stack traces of a NN under a heavy block allocation load (around a thousand
per second) I see that a lot of time is being taken up in stringification of log messages
for addStoredBlock. This code can be optimized to use a single StringBuilder instead of a
lot of nested toString() calls.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message