hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Zhang (Jira)" <j...@apache.org>
Subject [jira] [Created] (HBASE-24234) ChecksumUtil class validateChecksum method log level does not match
Date Wed, 22 Apr 2020 09:01:00 GMT
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)

Mime
View raw message