incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Shaposhnik (JIRA)" <>
Subject [jira] [Commented] (BIGTOP-614) Add HDFS HA tests
Date Sat, 16 Jun 2012 00:25:42 GMT


Roman Shaposhnik commented on BIGTOP-614:

Sujay, this is a pretty perplexing problem that we've been trying not to notice so far --
we have to have an infrastructure for doing what you want be we don't have any so far. Let
me file a separate JIRA over the weekend that will aim at (finally!) addressing this issue.

The trouble is, though, that I won't be able to work on it for quite some time. Do you feel
like you'd be interested in tackling this?

Meanwhile, we can still check the test code in, but it'll have to be disable during actual
test runs I suppose. Hm. Let me think about this over the weekend.
> Add HDFS HA tests
> -----------------
>                 Key: BIGTOP-614
>                 URL:
>             Project: Bigtop
>          Issue Type: Test
>          Components: Tests
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>         Attachments: HATests.patch, bigtop-614.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:!default.jspa
For more information on JIRA, see:


View raw message