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

TestHLogSplit.testTralingGarbageCorruptionFileSkipErrorsPasses should not use append to corrupt the HLog

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.95.2
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: test, wal
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: