[
https://issues.apache.org/jira/browse/HDFS-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated HDFS-3024:
-----------------------------------
Fix Version/s: (was: 2.0.0-alpha)
0.23.2
> 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: namenode
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Minor
> Fix For: 0.23.2
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)