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)