Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E1EB81A9 for ; Sun, 14 Aug 2011 02:51:53 +0000 (UTC) Received: (qmail 31730 invoked by uid 500); 14 Aug 2011 02:51:52 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 31560 invoked by uid 500); 14 Aug 2011 02:51:50 -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 31548 invoked by uid 99); 14 Aug 2011 02:51: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 Aug 2011 02:51:49 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2011 02:51:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 29280BB1D9 for ; Sun, 14 Aug 2011 02:51:27 +0000 (UTC) Date: Sun, 14 Aug 2011 02:51:27 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1902844078.36696.1313290287165.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1960983887.57171.1306870067801.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2019) Fix all the places where Java method File.list is used with FileUtil.list API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084774#comment-13084774 ] Eli Collins commented on HDFS-2019: ----------------------------------- Previously FSdataset#recoverDetachedBlocks just returns if the detach directory is empty, now it throws an IOException, why is that? Is it always the case that the detach directory be non-empty? > Fix all the places where Java method File.list is used with FileUtil.list API > ----------------------------------------------------------------------------- > > Key: HDFS-2019 > URL: https://issues.apache.org/jira/browse/HDFS-2019 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 0.23.0 > Reporter: Bharath Mundlapudi > Assignee: Bharath Mundlapudi > Priority: Minor > Fix For: 0.23.0 > > Attachments: HDFS-2019-1.patch > > > This new method FileUtil.list will throw an exception when disk is bad rather than returning null. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira