hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Staffan Friberg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10620) StringBuilder created and appended even if logging is disabled
Date Wed, 13 Jul 2016 21:02:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Staffan Friberg updated HDFS-10620:
-----------------------------------
    Attachment: HDFS-10620.001.patch

> 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
>             Fix For: 3.0.0-alpha1
>
>         Attachments: HDFS-10620.001.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message