Todd Lipcon created HDFS-13701:
----------------------------------
Summary: Removal of logging guards regressed performance
Key: HDFS-13701
URL: https://issues.apache.org/jira/browse/HDFS-13701
Project: Hadoop HDFS
Issue Type: Bug
Components: performance
Affects Versions: 3.0.0
Reporter: Todd Lipcon
HDFS-8971 removed various logging guards from hot methods in the DFS client. In
theory using a format string with {} placeholders is equivalent, but in fact
it's not equivalent when one or more of the variable arguments are primitives.
To be passed as part of the varargs array, the primitives need to be boxed. I
am seeing Integer.valueOf() inside BlockReaderLocal.read taking ~3% of CPU.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]