HBase
  1. HBase
  2. HBASE-5908

TestHLogSplit.testTralingGarbageCorruptionFileSkipErrorsPasses should not use append to corrupt the HLog

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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

        Activity

        Gregory Chanan created issue -
        Gregory Chanan made changes -
        Field Original Value New Value
        Attachment HBASE-5908-trunk.patch [ 12525130 ]
        Todd Lipcon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.90.7 [ 12319481 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.90.7 [ 12319481 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.0 [ 12316419 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development