hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1971) Unit test the full WAL replay cycle
Date Fri, 13 Nov 2009 19:43:39 GMT

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

Jean-Daniel Cryans updated HBASE-1971:

    Attachment: HBASE-1971-v1.patch

First cut at the patch.

# src/test/org/apache/hadoop/hbase/EmptyWatcher
Refactored from TestZooKeeper

# src/test/org/apache/hadoop/hbase/HBaseTestingUtility.java
Refactored the expiration of the master and region servers from TestZooKeeper in that class.
Fixed what I think was a bug in createMultiRegions.

# src/test/org/apache/hadoop/hbase/TestFullLogReconstruction.java
Adds a test that covers the whole log reconstruction cycle. Should be expended. 

# src/test/org/apache/hadoop/hbase/TestZooKeeper.java
Removed a test I thought wasn't useful and that was breaking with HBaseTestingUtility. Some

# src/test/org/apache/hadoop/hbase/regionserver/TestStoreReconstruction.java
Integration tests for Store.runReconstructionLog and HLog. Should be expended.

> Unit test the full WAL replay cycle
> -----------------------------------
>                 Key: HBASE-1971
>                 URL: https://issues.apache.org/jira/browse/HBASE-1971
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.21.0
>         Attachments: HBASE-1971-v1.patch
> Currently we test log splitting (master's current role) but we never try it with Store.runReconstructionLog().
Now is a good time to unit test the whole cycle.

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

View raw message