You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Xiao Zhang (Jira)" <ji...@apache.org> on 2020/04/22 09:01:00 UTC
[jira] [Created] (HBASE-24234) ChecksumUtil class validateChecksum
method log level does not match
Xiao Zhang created HBASE-24234:
----------------------------------
Summary: ChecksumUtil class validateChecksum method log level does not match
Key: HBASE-24234
URL: https://issues.apache.org/jira/browse/HBASE-24234
Project: HBase
Issue Type: Bug
Components: HFile
Affects Versions: 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0
Reporter: Xiao Zhang
Assignee: Xiao Zhang
In the validateChecksum method of the ChecksumUtil class, still use LOG.info after judging LOG.isTraceEnabled.
eg:
if (LOG.*isTraceEnabled*()) {
LOG.*info*("dataLength=" + buffer.capacity()
+ ", sizeWithHeader=" + onDiskDataSizeWithHeader
+ ", checksumType=" + cktype.getName()
+ ", file=" + pathName
+ ", offset=" + offset
+ ", headerSize=" + hdrSize
+ ", bytesPerChecksum=" + bytesPerChecksum);
}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)