Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24234

ChecksumUtil class validateChecksum method log level does not match

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4
    • None
    • HFile
    • None

    Description

      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); }

      Attachments

        Activity

          People

            xiaozhang Xiao Zhang
            xiaozhang Xiao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: