Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1143717CBD for ; Fri, 10 Oct 2014 18:52:34 +0000 (UTC) Received: (qmail 26108 invoked by uid 500); 10 Oct 2014 18:52:34 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 26084 invoked by uid 500); 10 Oct 2014 18:52:33 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 26070 invoked by uid 99); 10 Oct 2014 18:52:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 18:52:33 +0000 Date: Fri, 10 Oct 2014 18:52:33 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-2145) Create upgrade test framework 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/ACCUMULO-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Tubbs updated ACCUMULO-2145: ---------------------------------------- Fix Version/s: 1.7.0 > Create upgrade test framework > ----------------------------- > > Key: ACCUMULO-2145 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2145 > Project: Accumulo > Issue Type: Test > Reporter: Keith Turner > Assignee: John McNamee > Fix For: 1.7.0 > > Attachments: ACCUMULO-2145.v2.patch, ACCUMULO-2145.v3.patch, ACCUMULO-2145.v4.patch, updateTest.sh > > > Accumulo upgrade testing in the past has been very minimal and mostly manual. As a result we have run into upgrade bugs in the past. It would be nice to have a framework that makes its easy to run and write upgrade test. > * Can be configured to use existing HDFS and zookeeper instances > * Can be configured with 1.5.x and 1.6.x branches to build > * Supports multiple upgrade scenarios (like clean shutdown, dirty shutdown, etc) > * Runs a set of upgrade test (this would a be a list of test to run thats easy to add to e.g. bulk import upgrade test) > I am thinking the framework could do the following > {noformat} > 1. Build or download a version of 1.5 > 2. Build or download a version of 1.6 > > foreach scenario { > foreach upgrade test{ > a. ask test for any 1.5 configuration > b. ask test for any 1.6 configuration > c. Unpack and configure 1.5 > d. Unpack and configure 1.6 > e. Execute pre upgrade step of test > f. Execute scenario > g Execute post upgrade step of test > } > } > {noformat} > The framework would configure the Accumulo versions, HDFS, zookeeper, and which test to run. > It would also be use to write the framework in such a way that it could support chaining upgrade test. For example run test that upgrades from 1.4 to 1.5 to 1.6. It possible that a fresh install of 1.5 will upgrade w/o problems, but a 1.5 system was upgraded to 1.4 will not. -- This message was sent by Atlassian JIRA (v6.3.4#6332)