You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2012/08/14 03:11:38 UTC

[jira] [Created] (HDFS-3800) QJM: improvements to QJM fault testing

Todd Lipcon created HDFS-3800:
---------------------------------

             Summary: QJM: improvements to QJM fault testing
                 Key: HDFS-3800
                 URL: https://issues.apache.org/jira/browse/HDFS-3800
             Project: Hadoop HDFS
          Issue Type: Sub-task
    Affects Versions: QuorumJournalManager (HDFS-3077)
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


This JIRA improves TestQJMWithFaults as follows:
- the current implementation didn't properly unwrap exceptions thrown by the reflection-based injection method. This caused some issues in the code where the injecting proxy didn't act quite like the original object.
- the current implementation incorrectly assumed that the recovery process would recover to _exactly_ the last acked sequence number. In fact, it may recover to that transaction _or any greater transaction_.

It also adds a new randomized test which uncovered a number of other bugs. I will defer to the included javadoc for a description of this test.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HDFS-3800) QJM: improvements to QJM fault testing

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-3800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved HDFS-3800.
-------------------------------

       Resolution: Fixed
    Fix Version/s: QuorumJournalManager (HDFS-3077)
     Hadoop Flags: Reviewed
    
> QJM: improvements to QJM fault testing
> --------------------------------------
>
>                 Key: HDFS-3800
>                 URL: https://issues.apache.org/jira/browse/HDFS-3800
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: QuorumJournalManager (HDFS-3077)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: QuorumJournalManager (HDFS-3077)
>
>         Attachments: hdfs-3800.txt
>
>
> This JIRA improves TestQJMWithFaults as follows:
> - the current implementation didn't properly unwrap exceptions thrown by the reflection-based injection method. This caused some issues in the code where the injecting proxy didn't act quite like the original object.
> - the current implementation incorrectly assumed that the recovery process would recover to _exactly_ the last acked sequence number. In fact, it may recover to that transaction _or any greater transaction_.
> It also adds a new randomized test which uncovered a number of other bugs. I will defer to the included javadoc for a description of this test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira