[
https://issues.apache.org/jira/browse/HDFS-13712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-13712:
-------------------------------
Resolution: Fixed
Fix Version/s: 3.0.4
3.1.1
3.2.0
Status: Resolved (was: Patch Available)
Thanks for filing and fixing this Gergo, committed to trunk, branch-3.1,
branch-3.0.
> BlockReaderRemote.read() logging improvement
> --------------------------------------------
>
> Key: HDFS-13712
> URL: https://issues.apache.org/jira/browse/HDFS-13712
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Affects Versions: 3.1.0
> Reporter: Gergo Repas
> Assignee: Gergo Repas
> Priority: Minor
> Fix For: 3.2.0, 3.1.1, 3.0.4
>
> Attachments: HDFS-13712.000.patch
>
>
> Logger.isTraceEnabled() shows up as a hot method via calls from
> BlockReaderRemote.read(). The attached patch reduces the number of such calls
> when trace-logging is turned off, and is on-par when the trace-logging is
> turned on.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]