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 ADE6981F6 for ; Sun, 14 Aug 2011 02:53:56 +0000 (UTC) Received: (qmail 33134 invoked by uid 500); 14 Aug 2011 02:53:56 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 32992 invoked by uid 500); 14 Aug 2011 02:53:52 -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 32973 invoked by uid 99); 14 Aug 2011 02:53:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2011 02:53:50 +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:53:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2905ABB231 for ; Sun, 14 Aug 2011 02:53:27 +0000 (UTC) Date: Sun, 14 Aug 2011 02:53:27 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1546395853.36701.1313290407164.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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084775#comment-13084775 ] Eli Collins commented on HDFS-2019: ----------------------------------- Never mind, list returns an empty list if the directory is empty. Sorry for the noise. > 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