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

Andrew Wang commented on HDFS-5228:
-----------------------------------

We have extensive symlink tests checked in as part of HADOOP-8040, so it's 
unfair to say that it's not well tested. We've also been testing and fixing 
things upstream for the last few months; I think some number of bugs like this 
are unavoidable as symlinks was a pretty big change that required touching 
basically all the client API code.

As to fixing this particular issue, it'd be great to get it done in a timely 
fashion for the 2.1.1 release. I'd be happy to rework Nicholas' v1 patch myself 
if that would help. Chris, thanks for going through DFS to check the other call 
sites, much appreciated.
                
> 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
>
>
> 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

Reply via email to