hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2509) FileSystem#getFileChecksum will throw NullPointerException on non existing directories/files.
Date Sat, 29 Oct 2011 06:23:32 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139133#comment-13139133
] 

Uma Maheswara Rao G commented on HDFS-2509:
-------------------------------------------

Ok, I handled from getFileChecksum API.

 I feel, that null check will not be useful in trunk as well after fixing HDFS-2065. After
that fix, it will never return null. I will add comment in that issue to correct in NamenodeFsck
as well.

Thanks
Uma
                
> 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

        

Mime
View raw message