From hdfs-issues-return-13866-apmail-hadoop-hdfs-issues-archive=hadoop.apache.org@hadoop.apache.org Thu Dec 30 23:14:11 2010 Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 92274 invoked from network); 30 Dec 2010 23:14:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Dec 2010 23:14:11 -0000 Received: (qmail 61828 invoked by uid 500); 30 Dec 2010 23:14:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 61787 invoked by uid 500); 30 Dec 2010 23:14:11 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 61779 invoked by uid 99); 30 Dec 2010 23:14:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Dec 2010 23:14: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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Dec 2010 23:14:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBUNDlT2007422 for ; Thu, 30 Dec 2010 23:13:47 GMT Message-ID: <3610380.76091293750827248.JavaMail.jira@thor> Date: Thu, 30 Dec 2010 18:13:47 -0500 (EST) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-884) DataNode makeInstance should report the directory list when failing to start up 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/HDFS-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976142#action_12976142 ] Eli Collins commented on HDFS-884: ---------------------------------- +1 latest patch looks good. > DataNode makeInstance should report the directory list when failing to start up > ------------------------------------------------------------------------------- > > Key: HDFS-884 > URL: https://issues.apache.org/jira/browse/HDFS-884 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node > Affects Versions: 0.22.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Fix For: 0.22.0 > > Attachments: HDFS-884.patch, HDFS-884.patch, InvalidDirs.patch > > > When {{Datanode.makeInstance()}} cannot work with one of the directories in dfs.data.dir, it logs this at warn level (while losing the stack trace). > It should include the nested exception for better troubleshooting. Then, when all dirs in the list fail, an exception is thrown, but this exception does not include the list of directories. It should list the absolute path of every missing/failing directory, so that whoever sees the exception can see where to start looking for problems: either the filesystem or the configuration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.