[
https://issues.apache.org/jira/browse/HADOOP-9912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756725#comment-13756725
]
Daryn Sharp commented on HADOOP-9912:
-------------------------------------
This {{Globber}} re-write is problematic, and the optimization we are talking
about is very broken regardless of whether we call file or link status. Both
of these calls in {{Globber}} are trapping {{IOException}} and returning null.
This unexpectedly causes file not found exceptions.
Let's say I have "/dir/noperms/file". If I do a ls on /dir/noperms, I get a
permission denied. If I do ls on /dir/noperms/file I get no such file or
directory.
If I do a ls on a standby, the {{StandbyException}} is trapped, and I get no
such file or directory.
> globStatus of a symlink to a directory does not report symlink as a directory
> -----------------------------------------------------------------------------
>
> Key: HADOOP-9912
> URL: https://issues.apache.org/jira/browse/HADOOP-9912
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 2.3.0
> Reporter: Jason Lowe
> Priority: Blocker
> Attachments: HADOOP-9912-testcase.patch
>
>
> globStatus for a path that is a symlink to a directory used to report the
> resulting FileStatus as a directory but recently this has changed.
--
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