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 DDACB10859 for ; Wed, 21 Jan 2015 10:48:36 +0000 (UTC) Received: (qmail 24276 invoked by uid 500); 21 Jan 2015 10:48:36 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 24221 invoked by uid 500); 21 Jan 2015 10:48:36 -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 24207 invoked by uid 99); 21 Jan 2015 10:48:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 10:48:36 +0000 Date: Wed, 21 Jan 2015 10:48:36 +0000 (UTC) From: "Andrey Stepachev (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12880) RegionState in state SPLIT doesn't removed from region states 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-12880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285477#comment-14285477 ] Andrey Stepachev commented on HBASE-12880: ------------------------------------------ [~jxiang] Not too many. Even here shouldn't be more then twice of latter splits. Seems housekeeping will make RegionStates more complicated then necessary. I'd prefer to close this as Wan't fix. > RegionState in state SPLIT doesn't removed from region states > ------------------------------------------------------------- > > Key: HBASE-12880 > URL: https://issues.apache.org/jira/browse/HBASE-12880 > Project: HBase > Issue Type: Bug > Components: Region Assignment > Affects Versions: 2.0.0, 1.1.0 > Reporter: Andrey Stepachev > Assignee: Andrey Stepachev > Attachments: HBASE-12880.patch, master-with-split-regions-2-1.jpg > > > During my work on patch HBASE-7332 I stumbled on strange behaviour in RegionStates. Split region doesn't removed from regionStates in regionOffline() method and RegionState for this region sits in regionStates map indefinitely long (until RS rebooted). > (that is clearly seen in HBASE-7332 by simple creating table and splitting it from command line). > Is that was intended to be so and some chore eventually will remove it from regionStates (didn't find with fast code scanning) or here can be resource leak? -- This message was sent by Atlassian JIRA (v6.3.4#6332)