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 8CC0C200B8D for ; Fri, 23 Sep 2016 19:08:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8B9BF160ACF; Fri, 23 Sep 2016 17:08:22 +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 C498A160ADA for ; Fri, 23 Sep 2016 19:08:21 +0200 (CEST) Received: (qmail 99711 invoked by uid 500); 23 Sep 2016 17:08:20 -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 99651 invoked by uid 99); 23 Sep 2016 17:08:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 17:08:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 908D42C0B10 for ; Fri, 23 Sep 2016 17:08:20 +0000 (UTC) Date: Fri, 23 Sep 2016 17:08:20 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16696) TestBlockEvictionFromClient fails in master branch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 23 Sep 2016 17:08:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516995#comment-15516995 ] Anoop Sam John commented on HBASE-16696: ---------------------------------------- Is this a flaky test from long time? {code} ScanThread[] scanThreads = initiateScan(table, true); Thread.sleep(200); Iterator iterator = cache.iterator(); boolean usedBlocksFound = false; int refCount = 0; int noOfBlocksWithRef = 0; while (iterator.hasNext()) { CachedBlock next = iterator.next(); BlockCacheKey cacheKey = new BlockCacheKey(next.getFilename(), next.getOffset()); if (cache instanceof BucketCache) { refCount = ((BucketCache) cache).getRefCount(cacheKey); } else if (cache instanceof CombinedBlockCache) { refCount = ((CombinedBlockCache) cache).getRefCount(cacheKey); } else { continue; } if (refCount != 0) { // Blocks will be with count 3 System.out.println("The refCount is " + refCount); assertEquals(NO_OF_THREADS, refCount); {code} 3 scanner threads were started and we sleep for 200 msec and then assert that blocks have 3 as ref count. What is a scan got completed in btw? Then that ref count dec would have happened. Ping [~ram_krish] > TestBlockEvictionFromClient fails in master branch > -------------------------------------------------- > > Key: HBASE-16696 > URL: https://issues.apache.org/jira/browse/HBASE-16696 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Attachments: build-1638.out, build-1639.out > > > TestBlockEvictionFromClient consistently fails in master branch. > From existing Jenkins builds, looks like this started with build 1639. > See attached Jenkins console logs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)