You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2013/03/26 19:23:20 UTC

[jira] [Updated] (BIGTOP-614) Add HDFS HA tests

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

Roman Shaposhnik updated BIGTOP-614:
------------------------------------

    Fix Version/s:     (was: 0.6.0)
    
> Add HDFS HA tests
> -----------------
>
>                 Key: BIGTOP-614
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-614
>             Project: Bigtop
>          Issue Type: Test
>          Components: Tests
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>         Attachments: bigtop-614.patch, bigtop-614.patch, HATests.patch
>
>
> In this patch, I am adding 2 tests and a test util class.
> 1) TestHAFailover: Fails over between the NameNodes a configurable number of times. Checks the service state of each NN after each failover to ensure that the service state is correct.
> 2) TestKilLNNFailover: Kills the Active NN. Waits and fails over to the standby NN. Waits and checks that the former standby is now active. Restarts the killed NN and checks that it is now standby. Goes through this process a configurable number of times.
> 3) HATestUtil: Helper methods to fail over and kill the NameNodes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira