Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 40602 invoked from network); 11 May 2009 10:48:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 May 2009 10:48:13 -0000 Received: (qmail 77169 invoked by uid 500); 11 May 2009 10:48:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 77044 invoked by uid 500); 11 May 2009 10:48:10 -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 77018 invoked by uid 99); 11 May 2009 10:48:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 10:48:10 +0000 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; Mon, 11 May 2009 10:48:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C5B3B234C004 for ; Mon, 11 May 2009 03:47:45 -0700 (PDT) Message-ID: <310178141.1242038865794.JavaMail.jira@brutus> Date: Mon, 11 May 2009 03:47:45 -0700 (PDT) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5099) DataNode should warn about unknown files in storage In-Reply-To: <193504651.1232582879543.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707965#action_12707965 ] Steve Loughran commented on HADOOP-5099: ---------------------------------------- -there could be a lot of unknown files -may be best to list a warning on the count, and give the first two or three. -you may want to have the option to completely halt the DN if there are unknowns, this could be handy to ensure the node hasnt been brought up pointing at the wrong part of the filesystem > DataNode should warn about unknown files in storage > --------------------------------------------------- > > Key: HADOOP-5099 > URL: https://issues.apache.org/jira/browse/HADOOP-5099 > Project: Hadoop Core > Issue Type: Improvement > Components: dfs > Reporter: Raghu Angadi > Assignee: Jakob Homan > > DataNode currently just ignores the files it does not know about. There could be a lot of files left in DataNode's storage that never get noticed or deleted. These files could be left because of bugs or by a misconfiguration. E.g. while upgrading from 0.17, DN left a lot of metada files that were not named in correct format for 0.18 (HADOOP-4663). > The proposal here is simply to make DN print a warning for each of the unknown files at the start up. This at least gives a way to list all the unknown files and (equally importantly) forces a notion of "known" and "unknown" files in the storage. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.