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 3203F97A9 for ; Sat, 29 Oct 2011 13:20:16 +0000 (UTC) Received: (qmail 86947 invoked by uid 500); 29 Oct 2011 13:20:16 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 86917 invoked by uid 500); 29 Oct 2011 13:20:16 -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 86907 invoked by uid 99); 29 Oct 2011 13:20:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 13:20:16 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Sat, 29 Oct 2011 13:20:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BC14A326A6E for ; Sat, 29 Oct 2011 13:19:34 +0000 (UTC) Date: Sat, 29 Oct 2011 13:19:34 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <673783576.36517.1319894374771.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <131000693.31613.1319811272235.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2509) FileSystem#getFileChecksum will throw NullPointerException on non existing directories/files. 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-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139270#comment-13139270 ] Hudson commented on HDFS-2509: ------------------------------ Integrated in Hadoop-Mapreduce-trunk #878 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/878/]) HDFS-2509. Add a test for DistributedFileSystem.getFileChecksum(..) on directories or non existing files. Contributed by Uma Maheswara Rao G szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190677 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java > FileSystem#getFileChecksum will throw NullPointerException on non existing directories/files. > --------------------------------------------------------------------------------------------- > > Key: HDFS-2509 > URL: https://issues.apache.org/jira/browse/HDFS-2509 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.20.205.0 > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Attachments: HDFS-2509-0.20.205Security.patch, HDFS-2509-0.20.205Security.patch, HDFS-2509-trunkTests.patch > > > FileSystem#getFileChecksum will throw NullPointerException on non existing directories/files. > I verified this in trunk, it throws FileNotFoundException. > This is identified in HDFS-2436. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira