Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8A360200B92 for ; Wed, 28 Sep 2016 19:10:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88FD4160AD3; Wed, 28 Sep 2016 17:10:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BCBA3160AB8 for ; Wed, 28 Sep 2016 19:10:26 +0200 (CEST) Received: (qmail 77510 invoked by uid 500); 28 Sep 2016 17:10:20 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 77499 invoked by uid 99); 28 Sep 2016 17:10:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2016 17:10:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 78DCC2C0B05 for ; Wed, 28 Sep 2016 17:10:20 +0000 (UTC) Date: Wed, 28 Sep 2016 17:10:20 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-16725) Don't let flushThread hang in TestHRegion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Sep 2016 17:10:27 -0000 Ted Yu created HBASE-16725: ------------------------------ Summary: Don't let flushThread hang in TestHRegion Key: HBASE-16725 URL: https://issues.apache.org/jira/browse/HBASE-16725 Project: HBase Issue Type: Test Reporter: Ted Yu Priority: Minor I was running TestHRegion locally and observed the following in test output: {code} 2016-09-28 16:29:36,836 INFO [main] hbase.ResourceChecker(171): after: regionserver.TestHRegion#testFlushCacheWhileScanning Thread=50 (was 49) Potentially hanging thread: FlushThread java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) org.apache.hadoop.hbase.regionserver.TestHRegion$FlushThread.run(TestHRegion.java:3834) {code} Call to flushThread.done() etc should be placed in the finally block. -- This message was sent by Atlassian JIRA (v6.3.4#6332)