Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 23109 invoked from network); 14 Feb 2010 17:57:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2010 17:57:49 -0000 Received: (qmail 136 invoked by uid 500); 14 Feb 2010 17:57:49 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 99948 invoked by uid 500); 14 Feb 2010 17:57:49 -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 99937 invoked by uid 99); 14 Feb 2010 17:57:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Feb 2010 17:57:49 +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; Sun, 14 Feb 2010 17:57:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 34E11234C1EF for ; Sun, 14 Feb 2010 09:57:28 -0800 (PST) Message-ID: <804530164.264581266170248215.JavaMail.jira@brutus.apache.org> Date: Sun, 14 Feb 2010 17:57:28 +0000 (UTC) From: "Steve Loughran (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Created: (HDFS-979) FSImage should specify which dirs are missing when refusing to come up MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 FSImage should specify which dirs are missing when refusing to come up ---------------------------------------------------------------------- Key: HDFS-979 URL: https://issues.apache.org/jira/browse/HDFS-979 Project: Hadoop HDFS Issue Type: Improvement Components: name-node Affects Versions: 0.22.0 Reporter: Steve Loughran Priority: Minor When {{FSImage}} can't come up as either it has no data or edit dirs, it tells me this {code} java.io.IOException: All specified directories are not accessible or do not exist. {code} What it doesn't do is say which of the two attributes are missing. This would be beneficial to anyone trying to track down the problem. Also, I don't think the message is correct. It's bailing out because dataDirs.size() == 0 || editsDirs.size() == 0 , because a list is empty -not because the dirs aren't there, as there hasn't been any validation yet. More useful would be # Explicit mention of which attributes are null # Declare that this is because they are not in the config -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.