[
https://issues.apache.org/jira/browse/HDFS-16638?focusedWorklogId=784918&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-784918
]
ASF GitHub Bot logged work on HDFS-16638:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Jun/22 03:13
Start Date: 27/Jun/22 03:13
Worklog Time Spent: 10m
Work Description: virajjasani commented on PR #4480:
URL: https://github.com/apache/hadoop/pull/4480#issuecomment-1166787365
Thanks @ZanderXu, IMHO breaking the small strings like the one mentioned
above (to satisfy checkstyle) is not an overhead for JVM. The overhead comes
when big objects (or let's say variable size of collections) are added in the
log lines.
Issue Time Tracking
-------------------
Worklog Id: (was: 784918)
Time Spent: 1h 20m (was: 1h 10m)
> 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: 1h 20m
> Remaining Estimate: 0h
>
> There are lots of concatenating Strings using blockLog.debug in BlockManager.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]