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: [email protected]
For additional commands, e-mail: [email protected]