hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1777) HDFS Log improvement Umbrella
Date Wed, 23 Mar 2011 17:30:05 GMT

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

Aaron T. Myers commented on HDFS-1777:

Before we go whole-hog on this, can we please make sure to do a little benchmarking? Java
is pretty good at optimizing for repeated strings, so there may not be much performance to
gain here.

> HDFS Log improvement Umbrella
> -----------------------------
>                 Key: HDFS-1777
>                 URL: https://issues.apache.org/jira/browse/HDFS-1777
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node, name-node
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
> In log messages we used so many '+' operators to construct the message. So many string
object creations will happen. Instead we can use StringBuilder and append all the strings
to it.So, we can avoid unncessary String object creations.
> So created one Umbrella issue and we can link the all log improvement issues to it.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message