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

TestHFileBlock.testGzipCompression should ignore the block checksum

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.98.0, 0.94.8, 0.95.1
    • Fix Version/s: 0.98.0, 0.94.8, 0.95.1
    • Component/s: test
    • Labels:
      None

      Description

      TestHFileBlock.createTestBlockStr can change the gzip header after the block is produced. The OS field can be set to 0 on Linux or Mac if the native gzip codec is available and is used, but the test code then resets it to 3. When comparing the resulting block the checksum should be ignored.

        Attachments

        1. 7921.patch
          2 kB
          Andrew Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Purtell
              Reporter:
              apurtell Andrew Purtell
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: