hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1550) NPE when listing a file with no location
Date Thu, 21 Apr 2011 23:33:09 GMT

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

Hudson commented on HDFS-1550:
------------------------------

Integrated in Hadoop-Hdfs-22-branch #35 (See [https://builds.apache.org/hudson/job/Hadoop-Hdfs-22-branch/35/])
    

> NPE when listing a file with no location
> ----------------------------------------
>
>                 Key: HDFS-1550
>                 URL: https://issues.apache.org/jira/browse/HDFS-1550
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: nullLocatedBlocks.patch
>
>
> Lines listed below will caused a NullPointerException in DFSUtil.locatedBlocks2Locations
(line 208) because EMPTY_BLOCK_LOCS  will return null when calling blocks.getLocatedBlocks()
> {noformat}
>    /** a default LocatedBlocks object, its content should not be changed */
>    private final static LocatedBlocks EMPTY_BLOCK_LOCS = new LocatedBlocks();
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message