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 "Gergo Repas (JIRA)" <ji...@apache.org> on 2018/07/02 12:56:00 UTC

[jira] [Updated] (HDFS-13712) BlockReaderRemote.read() logging improvement

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

Gergo Repas updated HDFS-13712:
-------------------------------
    Attachment: HDFS-13712.000.patch

> 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
>         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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org