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 8DD1817A21 for ; Mon, 9 Mar 2015 14:54:40 +0000 (UTC) Received: (qmail 44209 invoked by uid 500); 9 Mar 2015 14:54:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 44051 invoked by uid 500); 9 Mar 2015 14:54:39 -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 43766 invoked by uid 99); 9 Mar 2015 14:54:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2015 14:54:39 +0000 Date: Mon, 9 Mar 2015 14:54:39 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-13179) TestMasterObserver deleteTable is flaky 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/HBASE-13179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-13179: ------------------------------------ Attachment: HBASE-13179-v0.patch > TestMasterObserver deleteTable is flaky > --------------------------------------- > > Key: HBASE-13179 > URL: https://issues.apache.org/jira/browse/HBASE-13179 > Project: HBase > Issue Type: Test > Components: test > Affects Versions: 1.0.0, 0.98.10.1 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Minor > Attachments: HBASE-13179-v0.patch > > > TestMasterObserver fails when deleteTable() takes more time to complete the last steps. > {code} > java.lang.AssertionError: Delete table handler should be called. > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.apache.hadoop.hbase.coprocessor.TestMasterObserver.testTableOperations(TestMasterObserver.java:1283) > {code} > The problem is the same as the one in createTable() and it is because the sync version of the Admin operation is not sync, but relies on the last operation on the server e.g. delete meta. > but the post-operation method of the coprocessor is called after meta is deleted.. > long story short, the client is not really sync and it will be fixed by HBASE-12439. so for now we should have the same fix we have for createTable which is using a latch. > (note: there are other tests failing for this reason e.g. AccessController, NamespaceAuditor, ... but I'll fix them in another patch since we have already a workaround in TestMasterObserver) -- This message was sent by Atlassian JIRA (v6.3.4#6332)