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

TestHLogSplit.testTralingGarbageCorruptionFileSkipErrorsPasses should not use append to corrupt the HLog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.95.2
    • 0.94.0, 0.95.0
    • test, wal
    • None
    • Reviewed

    Description

      TestHLogSplit.testTralingGarbageCorruptionFileSkipErrorsPasses fails against a version of hadoop with https://issues.apache.org/jira/browse/HADOOP-8230

      The failure:
      "java.io.IOException: Append is not supported. Please see the dfs.support.append configuration parameter."

      Instead of using append, we can probably just:

      • copy over the contents to a new file
      • append the garbage to the new file
      • copy back to the old file

      Attachments

        1. HBASE-5908-trunk.patch
          1 kB
          Gregory Chanan

        Activity

          People

            gchanan Gregory Chanan
            gchanan Gregory Chanan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: