Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 23825 invoked from network); 15 Nov 2006 13:49:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 13:49:01 -0000 Received: (qmail 77204 invoked by uid 500); 15 Nov 2006 13:49:11 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 77182 invoked by uid 500); 15 Nov 2006 13:49:11 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 77173 invoked by uid 99); 15 Nov 2006 13:49:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 05:49:10 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3FE89714357 for ; Wed, 15 Nov 2006 04:55:39 -0800 (PST) Message-ID: <23212296.1163595339255.JavaMail.jira@brutus> Date: Wed, 15 Nov 2006 04:55:39 -0800 (PST) From: "Vladimir Krokhmalyov (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-652) Not all Datastructures are updated when a block is deleted In-Reply-To: <8743293.1161975076609.JavaMail.root@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 [ http://issues.apache.org/jira/browse/HADOOP-652?page=all ] Vladimir Krokhmalyov updated HADOOP-652: ---------------------------------------- Attachment: FSDataset.java.patch > Not all Datastructures are updated when a block is deleted > ---------------------------------------------------------- > > Key: HADOOP-652 > URL: http://issues.apache.org/jira/browse/HADOOP-652 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.9.0 > Reporter: Raghu Angadi > Attachments: FSDataset.java.patch, FSDataset.java.patch, FSDataset.java.patch > > > Currently when a block is deleted, DataNode just deletes the physical file and updates its map. We need to update more things. For e.g. numBlocks in FSDir is not decremented.. effect of this would be that we will create more subdirectories than necessary. It might not show up badly yet since numBlocks gets correct value when the dataNode restarts. I have to see what else needs to be updated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira