Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31A029AAF for ; Fri, 15 Jun 2012 22:35:43 +0000 (UTC) Received: (qmail 77880 invoked by uid 500); 15 Jun 2012 22:35:42 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 77782 invoked by uid 500); 15 Jun 2012 22:35:42 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 77625 invoked by uid 99); 15 Jun 2012 22:35:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 22:35:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 91B3B141BF8 for ; Fri, 15 Jun 2012 22:35:42 +0000 (UTC) Date: Fri, 15 Jun 2012 22:35:42 +0000 (UTC) From: "Sujay Rau (JIRA)" To: bigtop-dev@incubator.apache.org Message-ID: <495961222.20441.1339799742598.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1148958852.44925.1339016843592.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (BIGTOP-614) Add HDFS HA tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BIGTOP-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sujay Rau updated BIGTOP-614: ----------------------------- Attachment: bigtop-614.patch Updated patch for three desribed files. > 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: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira