You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Gergo Repas (JIRA)" <ji...@apache.org> on 2018/07/02 12:54:00 UTC

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

Gergo Repas created HDFS-13712:
----------------------------------

             Summary: 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


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