[
https://issues.apache.org/jira/browse/HADOOP-10957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095490#comment-14095490
]
Daryn Sharp commented on HADOOP-10957:
--------------------------------------
bq. Unfortunately, removing this code isn't possible. In the presence of
symlinks, the result of listStatus is simply ambiguous when it returns only one
item
The original patch this is an offshoot from is never supposed to call
listStatus on a symlink which avoids the problem. A symlink is resolved via
getFileStatus prior to a listStatus call. Do you see a bug in the original
patch?
I'd rather not fragment the original patch. We already have it internally
deployed. A piecemeal change will cause me to rework the internal patch
multiple times due to conflicts...
> The globber will sometimes erroneously return a permission denied exception
> when there is a non-terminal wildcard
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-10957
> URL: https://issues.apache.org/jira/browse/HADOOP-10957
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10957.001.patch, HADOOP-10957.002.patch
>
>
> The globber will sometimes erroneously return a permission denied exception
> when there is a non-terminal wildcard. The existing unit tests don't catch
> this, because it doesn't happen for superusers.
--
This message was sent by Atlassian JIRA
(v6.2#6252)