You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/09/19 04:03:51 UTC

[jira] [Created] (HDFS-5228) The RemoteIterator returned by DistributedFileSystem.listFiles(..) may throw NPE

Tsz Wo (Nicholas), SZE created HDFS-5228:
--------------------------------------------

             Summary: 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
            Reporter: Tsz Wo (Nicholas), SZE
            Assignee: Tsz Wo (Nicholas), SZE


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