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 66EC3EA57 for ; Sun, 27 Jan 2013 17:17:13 +0000 (UTC) Received: (qmail 42262 invoked by uid 500); 27 Jan 2013 17:17:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 42218 invoked by uid 500); 27 Jan 2013 17:17:13 -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 42209 invoked by uid 99); 27 Jan 2013 17:17:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2013 17:17:13 +0000 Date: Sun, 27 Jan 2013 17:17:13 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7687) TestCatalogTracker.testServerNotRunningIOException fails occasionally 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-7687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563841#comment-13563841 ] Lars Hofhansl commented on HBASE-7687: -------------------------------------- This method and code is wrought with race conditions. I reproduced it locally. What happened in this: # waitForMetaServerConnection started to wait # the test thread sets a new setMetaLocation # CatalogTracker.getMetaServerConnection does not find a valid connection and resets the meta location flag # since the test thread only sets it once, waitForMetaServerConnection will wait for forever (until timeout). Let's just remove this stuff. > TestCatalogTracker.testServerNotRunningIOException fails occasionally > --------------------------------------------------------------------- > > Key: HBASE-7687 > URL: https://issues.apache.org/jira/browse/HBASE-7687 > Project: HBase > Issue Type: Sub-task > Reporter: Lars Hofhansl > Assignee: Ted Yu > Fix For: 0.96.0, 0.94.5 > > Attachments: 7687-94.txt, 7687-trunk.txt > > > I would like to remove this method. It micro-tests a single method and poorly at that. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira