Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB353EFB1 for ; Thu, 7 Feb 2013 14:11:14 +0000 (UTC) Received: (qmail 46607 invoked by uid 500); 7 Feb 2013 14:11:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46310 invoked by uid 500); 7 Feb 2013 14:11:14 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 46267 invoked by uid 99); 7 Feb 2013 14:11:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 14:11:13 +0000 Date: Thu, 7 Feb 2013 14:11:13 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HBASE-7788) [snapshot 130201 merge] Fix flakey TestRestore*SnapshotFromClient#testCloneSnapshot MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7788?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hsieh reassigned HBASE-7788: ------------------------------------- Assignee: Jonathan Hsieh =20 > [snapshot 130201 merge] Fix flakey TestRestore*SnapshotFromClient#testClo= neSnapshot > -------------------------------------------------------------------------= ---------- > > Key: HBASE-7788 > URL: https://issues.apache.org/jira/browse/HBASE-7788 > Project: HBase > Issue Type: Sub-task > Reporter: Jonathan Hsieh > Assignee: Jonathan Hsieh > > In the current implementation the clone call waits until after the newly = created table isTableEnabled. However there is another state (apparently or= thogonal) that a newly created table is assumed to be =E2=80=93 isTableAvai= lable (all regions assigned). The logic for checking after table creation a= nd after clone creation are slightly different =E2=80=93 creation does the = equivalent of isTableAvailable but clone does not check this availability c= ondition. > This causes flaky failures in tests that quickly try to use/delete a newl= y cloned table. > TestRestoreSnapshotFromClient#testCloneSnapshot > TestRestoreFlushSnapshotFromCleitn#testCloneSnapshot > I believe there also are race conditions because of the postTableCreateHa= ndler corpco and postTableDeleteHandler coproc hooks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira