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 83F421831B for ; Tue, 3 Nov 2015 22:33:33 +0000 (UTC) Received: (qmail 33093 invoked by uid 500); 3 Nov 2015 22:33:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 32952 invoked by uid 500); 3 Nov 2015 22:33:28 -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 32673 invoked by uid 99); 3 Nov 2015 22:33:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 22:33:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D41342C1F6B for ; Tue, 3 Nov 2015 22:33:27 +0000 (UTC) Date: Tue, 3 Nov 2015 22:33:27 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14495) TestHRegion#testFlushCacheWhileScanning goes zombie 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-14495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988308#comment-14988308 ] stack commented on HBASE-14495: ------------------------------- Yeah. Thats STUCK. I don't have windows box to see diff but something to do w/ coarser timer? > TestHRegion#testFlushCacheWhileScanning goes zombie > --------------------------------------------------- > > Key: HBASE-14495 > URL: https://issues.apache.org/jira/browse/HBASE-14495 > Project: HBase > Issue Type: Sub-task > Components: test > Reporter: stack > Assignee: stack > Fix For: 2.0.0 > > Attachments: 14495.txt, 14495.txt, 14495v3.txt, 14495v6.txt, 14495v7.txt, 14495v9.txt > > > This test goes zombie on us, most recently, here: https://builds.apache.org/job/PreCommit-HBASE-Build/15744//console > It does not fail on my internal rig runs nor locally on laptop when run in a loop. > Its hung up in close of the region: > {code} > "main" prio=10 tid=0x00007fc49800a800 nid=0x6053 in Object.wait() [0x00007fc4a02c9000] > java.lang.Thread.State: WAITING (on object monitor) > at java.lang.Object.wait(Native Method) > - waiting on <0x00000007d07c3478> (a java.lang.Object) > at org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl.waitForRead(MultiVersionConcurrencyControl.java:207) > - locked <0x00000007d07c3478> (a java.lang.Object) > at org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl.completeAndWait(MultiVersionConcurrencyControl.java:143) > at org.apache.hadoop.hbase.regionserver.HRegion.internalPrepareFlushCache(HRegion.java:2257) > at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:2061) > at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:2026) > at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:2016) > at org.apache.hadoop.hbase.regionserver.HRegion.doClose(HRegion.java:1423) > at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:1344) > - locked <0x00000007d07c34a8> (a java.lang.Object) > at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:1295) > at org.apache.hadoop.hbase.HBaseTestingUtility.closeRegionAndWAL(HBaseTestingUtility.java:352) > at org.apache.hadoop.hbase.regionserver.TestHRegion.testFlushCacheWhileScanning(TestHRegion.java:3756) > {code} > It is waiting on mvcc to catch up. > There is this comment at the point where we are hung: > // TODO: Lets see if we hang here, if there is a scenario where an outstanding reader > // with a read point is in advance of this write point. > mvcc.completeAndWait(writeEntry); > The above came in with HBASE-12751. The comment was added at v29: > https://issues.apache.org/jira/secure/attachment/12754775/12751.rebased.v29.txt > Looks like I added it so must have had predilection that this might be dodgy... Let me take a look... -- This message was sent by Atlassian JIRA (v6.3.4#6332)