You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/03 11:27:00 UTC

[jira] [Work logged] (HDFS-16638) Add isDebugEnabled check for debug blockLogs in BlockManager

     [ https://issues.apache.org/jira/browse/HDFS-16638?focusedWorklogId=787397&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-787397 ]

ASF GitHub Bot logged work on HDFS-16638:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Jul/22 11:26
            Start Date: 03/Jul/22 11:26
    Worklog Time Spent: 10m 
      Work Description: ayushtkn commented on PR #4480:
URL: https://github.com/apache/hadoop/pull/4480#issuecomment-1173063972

   Well I didn't expect it to be that better as the above result shows, but I don't think concat will be having a Zero overhead anyway, if the code path is critical and something called at very high frequency, even small improvements can help. 
   I am ok with this change, but if others feels it isn't good enough to get it in or would have negligible impact. I am fine avoiding it as well, not something that critical....




Issue Time Tracking
-------------------

    Worklog Id:     (was: 787397)
    Time Spent: 2h  (was: 1h 50m)

> Add isDebugEnabled check for debug blockLogs in BlockManager
> ------------------------------------------------------------
>
>                 Key: HDFS-16638
>                 URL: https://issues.apache.org/jira/browse/HDFS-16638
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: dzcxzl
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> There are lots of concatenating Strings using blockLog.debug in BlockManager.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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