You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Staffan Friberg (JIRA)" <ji...@apache.org> on 2016/07/13 21:00:23 UTC

[jira] [Created] (HDFS-10620) StringBuilder created and appended even if logging is disabled

Staffan Friberg created HDFS-10620:
--------------------------------------

             Summary: StringBuilder created and appended even if logging is disabled
                 Key: HDFS-10620
                 URL: https://issues.apache.org/jira/browse/HDFS-10620
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 2.6.4
            Reporter: Staffan Friberg


In BlockManager.addToInvalidates the StringBuilder is appended to during the delete even if logging isn't active.

Could avoid allocating the StringBuilder as well, but not sure if it is really worth it to add null handling in the code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org