Colin Patrick McCabe created HDFS-5048:
------------------------------------------

             Summary: FileSystem#globStatus and FileContext#globStatus need to 
work with symlinks
                 Key: HDFS-5048
                 URL: https://issues.apache.org/jira/browse/HDFS-5048
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe


FileSystem#globStatus and FileContext#globStatus need to work with symlinks.  
Currently, they resolve all links, so that if you have:
{code}
/alpha/beta
/alphaLink -> alpha
{code}

and you take {{globStatus(/alphaLink/*)}}, you will get {{/alpha/beta}}, rather 
than the expected {{/alphaLink/beta}}.

We even resolve terminal symlinks, which would prevent listing a symlink in 
FSShell, for example.  Instead, we should build up the path incrementally.  
This will allow the shell to behave as expected, and also allow custom globbers 
to "see" the correct paths for symlinks.

--
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