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 5ACE0200BC1 for ; Wed, 16 Nov 2016 22:09:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5996B160B02; Wed, 16 Nov 2016 21:09:02 +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 A79DE160B08 for ; Wed, 16 Nov 2016 22:09:01 +0100 (CET) Received: (qmail 31322 invoked by uid 500); 16 Nov 2016 21:08:59 -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 30988 invoked by uid 99); 16 Nov 2016 21:08:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 21:08:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A150F2C4C8A for ; Wed, 16 Nov 2016 21:08:58 +0000 (UTC) Date: Wed, 16 Nov 2016 21:08:58 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-5024) A thread named LruBlockCache.EvictionThread remains after the shutdown of a cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 16 Nov 2016 21:09:02 -0000 [ https://issues.apache.org/jira/browse/HBASE-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-5024. -------------------------- Resolution: Cannot Reproduce Don't seem to see this in more modern hbase's. Resolving (Matteo traced code and we should be doing right thing). > A thread named LruBlockCache.EvictionThread remains after the shutdown of a cluster > ----------------------------------------------------------------------------------- > > Key: HBASE-5024 > URL: https://issues.apache.org/jira/browse/HBASE-5024 > Project: HBase > Issue Type: Bug > Affects Versions: 0.94.0 > Reporter: Nicolas Liochon > Priority: Minor > > There is no cleanup function in hbase.io.hfile.CacheConfig. The cache is a singleton, shared by all cluster if we launch more than one cluster on a test. > Related code is: > {noformat} > /** > * Static reference to the block cache, or null if no caching should be used > * at all. > */ > private static BlockCache globalBlockCache; > /** Boolean whether we have disabled the block cache entirely. */ > private static boolean blockCacheDisabled = false; > /** > * Returns the block cache or null in case none should be used. > * > * @param conf The current configuration. > * @return The block cache or null. > */ > private static synchronized BlockCache instantiateBlockCache(){ > // initiate globalBlockCache > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)