[
https://issues.apache.org/jira/browse/HDFS-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138986#comment-13138986
]
Tsz Wo (Nicholas), SZE commented on HDFS-2509:
----------------------------------------------
Hi Uma, for the 0.20s patch, let's change
DFSClient.getFileChecksum(DFSClient.java:783) but not
FSNamesystem.getBlockLocationsInternal(..) since some code (e.g. NamenodeFsck)
is relying on its behavior.
> 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-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