Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 1909 invoked from network); 25 Nov 2008 18:08:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Nov 2008 18:08:42 -0000 Received: (qmail 56923 invoked by uid 500); 25 Nov 2008 18:08:45 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 56844 invoked by uid 500); 25 Nov 2008 18:08:45 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 56822 invoked by uid 99); 25 Nov 2008 18:08:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 10:08:45 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 18:07:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50C1C234C298 for ; Tue, 25 Nov 2008 10:07:44 -0800 (PST) Message-ID: <715800449.1227636464329.JavaMail.jira@brutus> Date: Tue, 25 Nov 2008 10:07:44 -0800 (PST) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4061) Large number of decommission freezes the Namenode In-Reply-To: <930258889.1220465144195.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-4061: ------------------------------------------- Resolution: Fixed Hadoop Flags: [Incompatible change, Reviewed] (was: [Reviewed, Incompatible change]) Status: Resolved (was: Patch Available) I just committed this. > Large number of decommission freezes the Namenode > ------------------------------------------------- > > Key: HADOOP-4061 > URL: https://issues.apache.org/jira/browse/HADOOP-4061 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.17.2 > Reporter: Koji Noguchi > Assignee: Tsz Wo (Nicholas), SZE > Attachments: 4061_20081119.patch, 4061_20081120.patch, 4061_20081120b.patch, 4061_20081123.patch, 4061_20081124.patch, 4061_20081124b.patch, 4061_20081124c.patch, 4061_20081124c_0.18.patch, HADOOP-4061.patch > > > On 1900 nodes cluster, we tried decommissioning 400 nodes with 30k blocks each. Other 1500 nodes were almost empty. > When decommission started, namenode's queue overflowed every 6 minutes. > Looking at the cpu usage, it showed that every 5 minutes org.apache.hadoop.dfs.FSNamesystem$DecommissionedMonitor thread was taking 100% of the CPU for 1 minute causing the queue to overflow. > {noformat} > public synchronized void decommissionedDatanodeCheck() { > for (Iterator it = datanodeMap.values().iterator(); > it.hasNext();) { > DatanodeDescriptor node = it.next(); > checkDecommissionStateInternal(node); > } > } > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.