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 778A6200BC1 for ; Wed, 16 Nov 2016 21:53:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 76607160B02; Wed, 16 Nov 2016 20:53:00 +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 E4007160B13 for ; Wed, 16 Nov 2016 21:52:59 +0100 (CET) Received: (qmail 27176 invoked by uid 500); 16 Nov 2016 20:52:58 -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 26911 invoked by uid 99); 16 Nov 2016 20:52:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 20:52:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 669462C4C76 for ; Wed, 16 Nov 2016 20:52:58 +0000 (UTC) Date: Wed, 16 Nov 2016 20:52:58 +0000 (UTC) From: "stack (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-4324) Single unassigned directory is very slow when there are many unassigned nodes 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 20:53:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-4324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-4324. -------------------------- Resolution: Won't Fix No longer pertinent (don't keep list of unassigneds in zk now). Could have this issue when RIT... But Assignment is being redone in 2.0 so none of this stuff in ZK. Resolving as no-longer-pertinent. > Single unassigned directory is very slow when there are many unassigned nodes > ----------------------------------------------------------------------------- > > Key: HBASE-4324 > URL: https://issues.apache.org/jira/browse/HBASE-4324 > Project: HBase > Issue Type: Bug > Components: Zookeeper > Affects Versions: 0.90.4 > Reporter: Todd Lipcon > > Because we use a single znode for /unassigned, and we re-list it every time its contents change, assignment speed per region is O(number of unassigned regions) rather than O(1). Every time something changes about one unassigned region, the master has to re-list the entire contents of the directory inside of AssignmentManager.nodeChildrenChanged(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)