hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2935) Refactor "Corrupt Data" Tests in TestHLogSplit
Date Thu, 04 Nov 2010 23:42:42 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

stack updated HBASE-2935:

       Resolution: Fixed
    Fix Version/s: 0.90.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed.  Thanks for the patch Alex.  Good one.

> Refactor "Corrupt Data" Tests in TestHLogSplit
> ----------------------------------------------
>                 Key: HBASE-2935
>                 URL: https://issues.apache.org/jira/browse/HBASE-2935
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.89.20100621
>            Reporter: Nicolas Spiegelberg
>            Assignee: Alex Newman
>            Priority: Minor
>             Fix For: 0.90.0
>         Attachments: 0001-HBASE-2935.-fix-testCorruptedFileGetsArchivedIfSkipE.patch
> While fixing HBASE-2643, I noticed that a couple of the HLogSplit tests from HBASE-2437
were now failing.  3 tests are trying to detect proper handling of garbage data: testCorruptedFileGetsArchivedIfSkipErrors,
testTrailingGarbageCorruptionLogFileSkipErrorsFalseThrows, testCorruptedLogFilesSkipErrorsFalseDoesNotTouchLogs.
 However, these tests are corrupting data at the HBase level.  Data corruption should be tested
at the HDFS level, because the filesystem is responsible for data validation.  These tests
need to inject corrupt data at the HDFS level & then verify that ChecksumExceptions are

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message