hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5228) The RemoteIterator returned by DistributedFileSystem.listFiles(..) may throw NPE
Date Mon, 23 Sep 2013 08:08:03 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-5228:
----------------------------------------------

Andrew, you have not answered my following question.  I hope that you are not avoiding it.

bq. How exactly to audit DFS do you suggest so that it could avoid further bugs?
                
> The RemoteIterator returned by DistributedFileSystem.listFiles(..) may throw NPE
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-5228
>                 URL: https://issues.apache.org/jira/browse/HDFS-5228
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.1.0-beta
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>         Attachments: h5228_20130919.patch, h5228_20130919_test.patch, HDFS-5228.2.patch
>
>
> Get a RemoteIterator from DistributedFileSystem.listFiles(..) with a relative path. 
Then, it will result a NullPointerException when calling hasNext() from the RemoteIterator.
> This bug was discovered by Arnaud:
> http://hortonworks.com/community/forums/topic/new-bug-in-hdfs-listfiles-method/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message